Hello,

Does anyone know how to map the LDAP group names to j2ee roles defined in 
web.xml?

In SunOne there is a sun-application.xml file where you can enter:

<sun-application>
  cmsLdap  
  <security-role-mapping>
    <role-name>administrators</role-name>
    <group-name>CMS_PM</group-name>               
  </security-role-mapping>
</sun-application>

which has the effect of giving the j2ee application role "administrators" to 
anyone in the LDAP group CMS_PM.  (the role administrators is then used in the 
jsp pages to secure buttons etc)

Any help would be appreciated.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860763#3860763

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860763


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to