cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 許議中 <>
Subject How to get authentication contex in auth-fw
Date Thu, 18 Jan 2007 11:58:42 GMT

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(;
   	var authContext = contextMan.getContext("authentication");
   	var authentication = authContext.getXML("/authentication");
print("authentication = "+authentication);

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

Best Regards


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message