0 Replies Latest reply on Jan 13, 2009 11:50 AM by Jürgen Weber

    Get role name from LDAP user attribute

    Jürgen Weber Newbie

      With Tomcat's JNDI realm you can define an userRoleName attribute so that user attributes can be taken as role definitions, e.g. with

      myrole: tomcat
      myrole: role2

      and userRoleName="myrole" a user is in roles tomcat and role2.
      (http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JNDIRealm)

      Can this be done with JBoss realms, too?

      Thanks,
      Juergen