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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to