users@glassfish.java.net

Principal to Role Mapping

From: <glassfish_at_javadesktop.org>
Date: Thu, 21 Aug 2008 00:10:37 PDT

Hello All,

I need to map a role to all the users in LDAP
There are no groups defined in my LDAP, and it is not possible to name each user in
<principal-name>XXX</principal-name> tag.

I tried using the * wildcard and i have failed.

<security-role-mapping>
<role-name>Administrator</role-name>
<group-name>*<group-name>
</security-role-mapping>

or even

<security-role-mapping>
<role-name>Administrator</role-name>
<principal-name>*</principal-name>
</security-role-mapping>

Both approaches dont work.

Please help me, how this functionality can be implemented.

Best Regards
Suyog Barve
[Message sent by forum member 'suyogbarve' (suyogbarve)]

http://forums.java.net/jive/thread.jspa?messageID=294538