cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject Re: auth and flow
Date Thu, 16 Sep 2004 12:20:38 GMT


Guido Casper wrote:
<snip/>
> 
> 
> var contextMan = 
> cocoon.getComponent(Packages.org.apache.cocoon.webapps.session.ContextManager.ROLE);

> 
> var authContext = contextMan.getContext("authentication");
> var userFrag = authContext.getXML("/authentication/ID");
> var username = 
> Packages.org.apache.cocoon.xml.dom.DOMUtil.getValueOfNode(userFrag);

wiki'ed this thanks.

> 
>> 2) Is it possible to have a login expire automatically after a certain 
>> period of inactivity time? I have a class implementing Authenticator 
>> as authenticationresource.
> 
> 
> The login expires with the session.

So i configure a <session-timeout> on the webapp right?

> 
> Guido
Jorg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message