What is stopping you from using the authentication as provided? >> 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. << Perhaps you could detail what is missing from the provided solution?
Matthew -- Open Source Group Cocoon { Consulting, Training, Projects } ================================================================= Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn Tel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de ----------------------------------------------------------------- Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20 Weblog: http://radio.weblogs.com/0103021/ ================================================================= -----Original Message----- From: Damian Chojna [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 31, 2002 3:24 PM To: cocoon-users Subject: Authorisation in Cocoon 2.0.3 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]> --------------------------------------------------------------------- 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]>