RE: Mapping role names to groups

2017-10-04 Thread Sebastian Trost
-Original Message- From: André Warnier (tomcat) [mailto:a...@ice-sa.com] Sent: Wednesday, October 04, 2017 11:14 AM To: users@tomcat.apache.org Subject: Re: Mapping role names to groups > On 04.10.2017 10:20, Sebastian Trost wrote: >> -Original Message- >> Fr

Re: Mapping role names to groups

2017-10-04 Thread tomcat
On 04.10.2017 10:20, Sebastian Trost wrote: -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, October 03, 2017 4:10 PM To: Tomcat Users List Subject: Re: Mapping role names to groups On 03/10/17 14:01, Sebastian Trost wrote: Hi! I was looking for a way to

Re: Mapping role names to groups

2017-10-04 Thread Mark Thomas
On 04/10/17 09:20, Sebastian Trost wrote: > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Tuesday, October 03, 2017 4:10 PM > To: Tomcat Users List > Subject: Re: Mapping role names to groups > > On 03/10/17 14:01, Sebastian Trost wrote:

RE: Mapping role names to groups

2017-10-04 Thread Sebastian Trost
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, October 03, 2017 4:10 PM To: Tomcat Users List Subject: Re: Mapping role names to groups On 03/10/17 14:01, Sebastian Trost wrote: >> Hi! >> >> I was looking for a way to map security role

Re: Mapping role names to groups

2017-10-03 Thread Mark Thomas
On 03/10/17 14:01, Sebastian Trost wrote: > Hi! > > I was looking for a way to map security role names from tomcat to LDAP > groups. I found an old thread from August 2009 with the exact problem in > which Christopher Schultz recommended to write a servlet filter or valve to > do that. > > Or

Re: Mapping role names to groups

2009-08-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, On 8/6/2009 8:33 AM, Jason Royals wrote: > Thanks for the advice, but I think is only valid > within the context of a element though? As such, it wont work > on JSP's or other resources that might do a > request.isUserInRole("admin") but are

RE: Mapping role names to groups

2009-08-06 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Mapping role names to groups > > More precisely, it seems from the Servlet Spec, that all which concerns > AAA applies in fact to "URLs" and/or "methods". It seems thus > definitely indepe

Re: Mapping role names to groups

2009-08-06 Thread Jason Royals
Yep, well according to the XSD that I'm using http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd but also http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd, can only appear within a definition. It could certainly help if it was directly under web-app, but it ain't allowed so therefore it's usefulnes

Re: Mapping role names to groups

2009-08-06 Thread André Warnier
André Warnier wrote: Jason Royals wrote: Thanks for the advice, but I think is only valid within the context of a element though? I have not checked, but are you sure ? Is it not at the level of the web-app ? If so, it would apply to everything belonging to that webapp, whether filters,

Re: Mapping role names to groups

2009-08-06 Thread André Warnier
Jason Royals wrote: Thanks for the advice, but I think is only valid within the context of a element though? I have not checked, but are you sure ? Is it not at the level of the web-app ? If so, it would apply to everything belonging to that webapp, whether filters, servlets, jsp's, what

Re: Mapping role names to groups

2009-08-06 Thread Jason Royals
Thanks for the advice, but I think is only valid within the context of a element though? As such, it wont work on JSP's or other resources that might do a request.isUserInRole("admin") but are not servlets themselves (such as filters and listeners). I'd also like to avoid changing anything in web

Re: Mapping role names to groups

2009-08-06 Thread Tim Funk
Try adding this to web.xml (and IIUC - this is portable across all containers) users SG-FooBar-Users admins SG-FooBar-Admins -Tim Jason Royals wrote: Hello Tomcatters, Consider the following scenario. I have a Java web application, and it is a packaged, commercial appli

RE: Mapping role names to groups

2009-08-06 Thread Mohamed Shah
I THINK ITS POSSIBLE. But when you are fine with weblogic is there any specific reason to use tomcat? -Original Message- From: Jason Royals [mailto:tomcat-mailingl...@fragstealers.com] Sent: Thursday, August 06, 2009 4:32 PM To: users@tomcat.apache.org Subject: Mapping role names to grou