On Thu, 2004-01-08 at 00:52, Archana Turaga wrote: > Hi, > If we want to add additional columns into the mysql tables are there any rules that > need to be followed? > > Is there a formal document somewhere that explain what the structure of the tables > should be so that user authentication works in jetspeed?
I found the same problem... how to add things to the properties of a user. AIUI, Jetspeed copies the authentication model of turbine, and the authentication schemas come from the magic torque DB/XML stuff. You'll find it does use some code from a turbine class library, just to confuse you! If you use a standard jetspeed installation, eventually you'll find a function called TurbineAuthentication (it's in the jetspeed hierarchy: ~/jetspeed-1.4/src/java/org/apache/jetspeed/services/security/turbine/TurbineAuthentication.java Create your own MyTurbineAuthentication which extends that object (changing the JetspeedSecurity.properties to suit)... you only need to copy the function "login", and you can hack stuff into there after the normal jetspeed validation has occurred to add stuff to the BaseJetspeedUser object's storage space (BJU simply stores stuff in a hashtables, you could extend it with MyBaseJetspeedUser if U wished). Deeper still take a look at TurbineUserManagement and BaseTurbineUserPeer... but that's way down deep under and unless you're a real masochist, I'd stay clear. Paul --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
