Re: Authorisation problem

2003-01-01 Thread Sebastian Gil
2002-12-31 17:01:07, "Your Name" <[EMAIL PROTECTED]> wrote: >a boolean back from isUserInRole(java.lang.String role). Thanks a lot. It's what I was lloking for. SG. - Please check that your question has not already been ans

Re: Authorisation problem

2003-01-01 Thread Your Name
That information is in the request object, not session - see http://xml.apache.org/cocoon/apidocs/org/apache/cocoon/environment/Reque st.html. There is not (to my knowledge at least) a way to get an enumeration of all the roles associated with a user - you can only get a boolean back from isUse

Authorisation problem

2002-12-31 Thread Sebastian Gil
Hi there. I've configured Tomcat to handle authentication and authorisation on my Cocoon pages and everything works fine, including accessing user database etc. Now, I would like to read user name and role from XSP. But I don't know how to do this. I tried to enumerate attributes in xsp-session