taylor 2004/11/10 10:57:27
Modified: xdocs security.xml
Log:
update instructions for extending Jetspeed User
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.14 +3 -3 jakarta-jetspeed/xdocs/security.xml
Index: security.xml
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/xdocs/security.xml,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- security.xml 21 Apr 2004 18:44:09 -0000 1.13
+++ security.xml 10 Nov 2004 18:57:27 -0000 1.14
@@ -419,12 +419,12 @@
Here are the steps to do so:
</p>
<ul>
-<li>1. Modify build/torque/security_schema.xml, adding the new columns to
the Torque XML schema.</li>
-<li>2. Modify build/torque/build.properties to generate DDL for your
particular database (database=)</li>
+<li>1. Modify src/torque-schema/security_schema.xml, adding the new columns
to the Torque XML schema.</li>
+<li>2. Modify project.properties (or your $HOME/build.properties) to
generate DDL for your particular database (database=)</li>
<li>3. Rebuild Jetspeed to auto-generate the DDL script for your db, and
generate the OM objects
The OM objects are generated to the
org/apache/jetspeed/om/security/turbine package.
The destination package is configurable in build/torque/build.properties.
- The DDL script is written to src/sql/security-schema.sql.</li>
+ The DDL script is written to
target/classes/sql/security-schema.sql.</li>
<li>4. Extend BaseJetspeedUser to, for ex, MyUser, and cast to it whenever
you need to access your new columns</li>
<li>5. Modify <i>services.JetspeedSecurity.user.class</i> in js.props to
point to your new user class</li>
</ul>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]