Thanks Paul. Will give it a shot and see where it leads. I just wish Jetspeed had a bible like information where we can just go and type "How do i add extra columns to my jetspeed table" and viola we have all the info...:-)
It is really a cool piece of software but the lack of documentation makes it tedious. Thanks again for your response, Archana >>> [EMAIL PROTECTED] 01/08/04 03:49 AM >>> 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... bt 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
