Hi All,
I'm trying to write my own action to handle user authorisation. I'm using sunRise for user authentication and need a way to get at the <ID> and <role> values for the current session from within an action (a Java class). I know I need a reference to the sunRise context, but don't know how to get it. Once I have that reference, how do I use it? Can someone point me in the right direction?

Oh and if someone knows of a better (and easier) way of doing authorisation in 2.0.3 I'm keen on hearing about it, eventhough I want to try my action method first.

Thanks in advance,
Damian.


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to