Jorg Heymans wrote:
Hi,
I have setup authentication using the actions of the auth:fw block.
1) Can i access from flow this authenticationcontext?
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);
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.
Guido
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
