Add DN to indexed attributes
authorMathieu Baudier <mbaudier@argeo.org>
Mon, 13 Nov 2017 12:15:41 +0000 (13:15 +0100)
committerMathieu Baudier <mbaudier@argeo.org>
Mon, 13 Nov 2017 12:15:41 +0000 (13:15 +0100)
org.argeo.cms/src/org/argeo/cms/auth/UserAdminLoginModule.java

index 331f1af0522375adfec819ec722ef0573ea1427e..269f509ed45d665ab4bb1b3dbcccefad21712d42 100644 (file)
@@ -41,8 +41,8 @@ public class UserAdminLoginModule implements LoginModule {
        private CallbackHandler callbackHandler;
        private Map<String, Object> sharedState = null;
 
-       private List<String> indexedUserProperties = Arrays
-                       .asList(new String[] { LdapAttrs.mail.name(), LdapAttrs.uid.name(), LdapAttrs.authPassword.name() });
+       private List<String> indexedUserProperties = Arrays.asList(
+                       new String[] { LdapAttrs.DN, LdapAttrs.mail.name(), LdapAttrs.uid.name(), LdapAttrs.authPassword.name() });
 
        // private state
        private BundleContext bc;