Thanks for the info, just to check that we are doing this the 'right way':  We
created our own user class, which was exactly the same as TurbineUser except
we don't save to storage and no peers are used.  Set up our own LoginUser
object to validate the u/p, set up a User object, and store it in the session.
 I also had to create a DefaultAccessControl to set the Roles and Permissions
properly.  The turbine default uses peers for getting the security information
from the db.  After all that it seems to be working well.  Any other
gotcha's?

jon * <[EMAIL PROTECTED]> wrote:
> 
> Yes, you need to implement your own TurbineUser class that does not make
any
> calls to TurbineUserPeer. If TurbineUserPeer is never called, then
> initTableSchema() will also never be called. You don't need to implement
> your own TurbineUserPeer if you don't want to.
> 
> You need to change the following properties in TurbineResources.properties
> to point to your own classes...
> 
> # This is the class that implements the User interface
> # Default: org.apache.turbine.om.user.TurbineUser
> user.class=org.apache.turbine.om.user.TurbineUser
> 
> # This is the default action to log a user in.
> # Default: LoginUser
> action.login=LoginUser
> 
> (*possibly*)...
> 
> # This is the default action to validate whether or not
> # a session is valid. For example, if you want to make
> # sure if a user has already logged in or not.
> # Default: SessionValidator
> action.sessionvalidator=sessionvalidator.DefaultSessionValidator
> 
> I hope that helps.
> 
> -jon
> 
> 
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]


Jeffrey D. Brekke
mailto:[EMAIL PROTECTED]
http://sites.netscape.net/ekkerbj/homepage


____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at 
http://webmail.netscape.com.


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to