On logout action there is a difference on the way to get the current user (it seems turbine handles it differently), try
getRunData().getUserFromSession() and see if that works for you. HTH, Aurelien Holger Dewes a ecrit : > Hello, > > I'm trying to do a kind of single sign-on by implementing my own > authentication class that inherits from > org.apache.jetspeed.services.security.turbine.TurbineAuthentication. > Login works fine, I get username and password, delegate to the super > class, perform my own login, and store some information in the user > session. > > But I have a problem with logout: I need to know the username there as > well, so I can perform my own logout. But the method gets no > parameters, and getRunData().getJetspeedUser() returns null. > > How do I get the current user in the logout method? Or should I do my > logout in a different class? (how?) > > Any help is much appreciated. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
