1 Reply Latest reply on Jan 12, 2011 2:47 PM by shenz

    LdapExtLoginModule just for authentication

    shenz

      Hello dear all,

       

      we've a OpenLdap  server just for authentication without any roles. I found below the URL http://community.jboss.org/message/140473 that the authentication with the LdapExtLoginModule fails if no roles parameters are defined (in differenece to the LdapLoginModule).

       

      Because we use ldap just for authentication and have no roles in the ldap schema, my question is, if  there's a way how to circumvent the obligatory roles parameters in the LdapExtLoginModule? We've to use this module because not all users belong to the same department and the department of each user is part of the his/her DN, i.e. a ldapsearch has to be performed. Therefore we can't use the LdapLoginModule

       

      Thanks for your help in advance.

      Best wishes,

      Stefan

        • 1. LdapExtLoginModule just for authentication
          shenz

          Hello dear all,

           

          just in case somebody is asking the same question:

          I solved the problem by just taking an attribute which occurs in the ldap schema as role parameter. Now the authentification with LdapExtLoginModule is working.