From 6225ccfc06b5108490893307e9e1213f319a5d39 Mon Sep 17 00:00:00 2001 From: mposolda Date: Tue, 8 Sep 2015 21:00:42 +0200 Subject: [PATCH] KEYCLOAK-1826 --- .../federation/ldap/idm/store/ldap/LDAPOperationManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/federation/ldap/src/main/java/org/keycloak/federation/ldap/idm/store/ldap/LDAPOperationManager.java b/federation/ldap/src/main/java/org/keycloak/federation/ldap/idm/store/ldap/LDAPOperationManager.java index 215034afa9..8a5b299437 100644 --- a/federation/ldap/src/main/java/org/keycloak/federation/ldap/idm/store/ldap/LDAPOperationManager.java +++ b/federation/ldap/src/main/java/org/keycloak/federation/ldap/idm/store/ldap/LDAPOperationManager.java @@ -333,6 +333,7 @@ public class LDAPOperationManager { Hashtable env = new Hashtable(this.connectionProperties); + env.put(Context.SECURITY_AUTHENTICATION, LDAPConstants.AUTH_TYPE_SIMPLE); env.put(Context.SECURITY_PRINCIPAL, dn); env.put(Context.SECURITY_CREDENTIALS, password);