0 Replies Latest reply on Mar 7, 2013 3:50 PM by Andrew Cheung

    LdapExtLoginModule : how to make authentication case-insensitive? (x-posted in PicketLink UserForum)

    Andrew Cheung Newbie

      Hi. I'm using the following configuration for a security domain used by Picketlink (version 2.1.4) on JBoss EPP 5.2.1, but would like to make it so that the user's cn is case-INSENSITIVE. Not sure if this can be configured here in the security domain or would it be configured in the picketlink.xml file.

      Here are my current settings:


      <login-module code="org.jboss.security.auth.spi.LdapExtLoginModule" flag="required">
                <module-option name="java.naming.provider.url">ldap://</module-option>
                <module-option name="bindDN">cn=mygenericuser,ou=Canada,o=com</module-option>
                <module-option name="bindCredential">hello123</module-option>
                <module-option name="baseCtxDN">ou=Canada,o=com</module-option>
                <module-option name="baseFilter">(cn={0})</module-option>
                <module-option name="rolesCtxDN">ou=Canada,o=com</module-option>
                <module-option name="roleFilter">(cn={0})</module-option>
                <module-option name="roleAttributeID">employeetype</module-option>


      Any help is appreciated.