Hi!

How to get authentication contex in auth-fw(flow), in the samples.js login 
function, I want to get some info from it, I use this method

if (auth_login(handler, null, cocoon.parameters)) {
        var contextMan = 
cocoon.getComponent(Packages.org.apache.cocoon.webapps.session.ContextManager.ROLE);
        var authContext = contextMan.getContext("authentication");
        var authentication = authContext.getXML("/authentication");
print("authentication = "+authentication);
    success();

but the authentication show [#document-fragment: null].

Best Regards

johnson

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to