Security roles

2007-09-28 Thread janbanan
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

Re: Security roles

2007-09-28 Thread David Delbecq
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

Re: Security roles

2007-09-28 Thread 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 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

RE: creating security roles automatically

2007-07-26 Thread Propes, Barry L
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

creating security roles automatically

2007-07-24 Thread Okan Çetin
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

Re: creating security roles automatically

2007-07-24 Thread Mikolaj Rydzewski
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

J2EE Security roles

2006-01-24 Thread Venkat Reddy Valluri
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