Hi FOLKS, Now , as suggested in the URL below, http://jakarta.apache.org/jetspeed/site/security.html#Extending%20Jetspeed%2
Often you may need to extend the Jetspeed User to support extra columns for your own database implementation. Here are the steps to do so: a.. 1. Modify build/torque/security_schema.xml, adding the new columns to the Torque XML schema. b.. 2. Modify build/torque/build.properties to generate DDL for your particular database (database=) c.. 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. d.. 4. Extend JetspeedUser to, for ex, MyUser, and cast to it whenever you need to access your new columns . HERE , I COULD DO steps 1, 2, and 3. In the step 4, My class implements JetspeedUser . Now, what next ?? I didnot understand the line "*cast to it whenever you need to access your new columns *" Can anyone please tell me, what should I supposed to do and How can I cast to it ?? If you can show me a sample, It will be very helpful. Thank you and regards Elena ----- Original Message ----- From: "Elena" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 08, 2002 4:27 PM Subject: JetSpeed --New User Account Templates > Hi everyone, > > /jetspeed/WEB-INF/templates/vm/screens/html/NewAccount.vm > > As far as I understand, all the fields in NewAccount.vm are needed to be > registered in my ExtUser.java (it is my extended class for new columns > added in turbine_user table) > before I can use it. > > Can anybody tell me how can I register it ? > Will you give me a Sample example code for this. > > YOUR HELP WILL BE APPRECIATED. > pls accept my apology > > Regards > Elena > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>