Hi,
I am trying to do logic within an XSP based on the settings
within an authentication context, using the authentication
framework.
Unfortunately, this is not directly supported (at least not using
my sitemap). The Authentication Session data is of course used
in the xsp page, using
<session:getxml context="authentication"
path="/authentication/data/canDoThis"/>
but is inserted in the SAX stream by the session transformer in
the sitemap. As such, the results can be used by the XSL transformer,
but not by the java program created by the xsp generator.
Thus, I want to insert those variables from the authentication
framework in my xsp by accessing this context directly.
If I however can obtain a ComponentManager in my XSP I can
just use XSPSessionFwHelper to get my parameters, and still
be able to use the results stored in the session in my xsp
logic (for instance to prevent unneccesary queries which then
need to be filtered out with XSL).
I *could* perhaps just access the Context in xsp, but I would'n
know where to look and what the results are. That, for me, would
be a last resort.
I hope someone can provide a hint on how to do this,
Leon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]