3 Replies Latest reply on Jan 6, 2005 11:51 AM by starksm64

    mapping LDAP groups to  J2EE roles defined in web.xml

    rlancett

      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.