Merge pull request #1608 from mposolda/master

KEYCLOAK-1826
This commit is contained in:
Marek Posolda 2015-09-08 21:01:52 +02:00
commit f1c40dd345

View file

@ -333,6 +333,7 @@ public class LDAPOperationManager {
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_CREDENTIALS, password);