5 Replies Latest reply on Nov 8, 2011 10:37 AM by Ali Aga

    JBoss AS 7 Active Directory Configuration

    Ali Aga Newbie

      Hello,

       

      I have the following configuration that works for me in JBoss AS 6. However, I have no idea how I would use the same information from below to make AD work with AS 7. The documentation for LDAP configuration in AS 7 is very light and I cannot tell where all the fields and information will map to.

       

      I will appreciate it very much if some one would let me know how to get  AD integrated with AS 7.

       

      Thank you vey much,

      // Ali

       

      <authentication>

      <login-module code="org.jboss.security.auth.spi.LdapExtLoginModule" flag="required">

      <module-option name="java.naming.provider.url">ldap://myurl</module-option>
      <module-option name="bindDN">myuseraccount@org.net</module-option>
      <module-option name="bindCredential">mypasswd</module-option>

      <module-option name="baseCtxDN">DC=myorgname,DC=org</module-option>

      <module-option name="baseFilter">(sAMAccountName={0})</module-option>

      <module-option name="rolesCtxDN">DC=myorgname,DC=org</module-option>

      <module-option name="roleFilter">(member={0})</module-option>
      <module-option name="roleAttributeID">cn</module-option>

      <module-option name="roleAttributeIsDN">false</module-option>

      <module-option name="java.naming.referral">follow</module-option>
      <module-option name="roleRecursion">-1</module-option>

      <module-option name="searchScope">SUBTREE_SCOPE</module-option>

      <module-option name="java.naming.security.authentication">simple</module-option>

      <module-option name="allowEmptyPasswords">false</module-option>

       

      </login-module>

      </authentication>