tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier (tomcat) ...@ice-sa.com>
Subject Re: Mapping role names to groups
Date Wed, 04 Oct 2017 09:13:46 GMT
On 04.10.2017 10:20, Sebastian Trost wrote:
> -----Original Message-----
> From: Mark Thomas [mailto:markt@apache.org]
> Sent: Tuesday, October 03, 2017 4:10 PM
> To: Tomcat Users List <users@tomcat.apache.org>
> 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 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.
>>>
>>> Original mail: http://mail-archives.apache.org/mod_mbox/tomcat-users/200908.mbox/%3C1249556542.8225.6.camel@habanero%3E
>>> Response from Christopher Schulz: http://mail-archives.apache.org/mod_mbox/tomcat-users/200908.mbox/%3C4A7AF405.7090403@christopherschultz.net%3E
>>>
>>> It has now been eight years and I'm wondering if there is still no other solution
than this?
>
>> security-role-ref ?
>
> AFAIK, <security-role-ref> is only valid within the <servlet> element. Therefore,
it doesn't work with JSPs or filters which are not servlets.
>

Isn't a JSP page ultimately translated into a servlet ?


> Regards
> Sebastian Trost
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message