Hi,
I'm having some problems with security roles in tomcat 5.5. The actual
url-pattern based protection works fine so presumably the config is ok. But
when I programatically try to check if the user belongs to a role I run into
problems.
First the request.isUserInRole(String) method always
but different classloader).
Btw, don't even ever think about moving anything from server/ to
WEB-INF/lib.
En l'instant précis du 28/09/07 09:14, janbanan s'exprimait en ces termes:
Hi,
I'm having some problems with security roles in tomcat 5.5. The actual
url-pattern based protection works fine
s'exprimait en ces termes:
Hi,
I'm having some problems with security roles in tomcat 5.5. The actual
url-pattern based protection works fine so presumably the config is ok.
But
when I programatically try to check if the user belongs to a role I run
into
problems.
First the request.isUserInRole
you ultimately will read these roles from the database, namely the user roles
table, as in the userRoleTable attribute.
-Original Message-
From: Okan Çetin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 24, 2007 8:35 AM
To: users@tomcat.apache.org
Subject: creating security roles
Hi;
I am using role based authentication system with Tomcat. I know, in
web.xml , security roles must be defined like this:
Ex:
security-role
role-nameusers/role-name
/security-role
But i want to create these roles dynamically. For example i want to
read
Okan Çetin wrote:
I am using role based authentication system with Tomcat. I know, in
web.xml , security roles must be defined like this:
Ex:
security-role
role-nameusers/role-name
/security-role
But i want to create these roles dynamically. For example i want to
read
Hi,
I am using catalina-4.0.4 and Form based authentication with JDBCRealm.
I would like to get the roles of a user from session object in which I
thinkroles must have been stored by j2ee secuirity realm when user is
authenticated
Can you please let me know thru which