tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: JNDIRealm - mapping LDAP group to security role
Date Tue, 23 Sep 2008 16:20:15 GMT
> From: jerome.delattre@gmail.com
> [mailto:jerome.delattre@gmail.com] On Behalf Of Jérôme Delattre
> Subject: JNDIRealm - mapping LDAP group to security role
>
> http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JNDIRealm
>
> The authentication seems to work but I wonder how to map LDAP groups
> to security roles.

The reference above includes an example of using LDAP groups as role names.

> I do not want to add groups in the LDAP server, but to map existing
> ones to the roles defined in my web application instead.

Perhaps you can use the <security-role-ref> declaration; look in section 12 of the servlet
spec.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@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