Hi Try this : var sessionManager = cocoon.getComponent( Packages.org.apache.cocoon.webapps.session.SessionManager.ROLE); var userLogin = sessionManager.getContextFragment( "authentication", "/authentication/ID").getFirstChild().getNodeValue();
Laurent Trillaud > I am writing XML generators for the new portal framework. In order to do > something useful I need in Java code to access the authentication/ID in > order to get the name of the person currently logged into the session. > > How can I do that? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
