commit
f1c40dd345
1 changed files with 1 additions and 0 deletions
|
@ -333,6 +333,7 @@ public class LDAPOperationManager {
|
||||||
|
|
||||||
Hashtable<String, Object> env = new Hashtable<String, Object>(this.connectionProperties);
|
Hashtable<String, Object> env = new Hashtable<String, Object>(this.connectionProperties);
|
||||||
|
|
||||||
|
env.put(Context.SECURITY_AUTHENTICATION, LDAPConstants.AUTH_TYPE_SIMPLE);
|
||||||
env.put(Context.SECURITY_PRINCIPAL, dn);
|
env.put(Context.SECURITY_PRINCIPAL, dn);
|
||||||
env.put(Context.SECURITY_CREDENTIALS, password);
|
env.put(Context.SECURITY_CREDENTIALS, password);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue