diff --git a/federation/ldap/src/main/java/org/keycloak/storage/ldap/idm/store/ldap/LDAPOperationManager.java b/federation/ldap/src/main/java/org/keycloak/storage/ldap/idm/store/ldap/LDAPOperationManager.java index 70ebdb9c13..f9abcc0a1e 100644 --- a/federation/ldap/src/main/java/org/keycloak/storage/ldap/idm/store/ldap/LDAPOperationManager.java +++ b/federation/ldap/src/main/java/org/keycloak/storage/ldap/idm/store/ldap/LDAPOperationManager.java @@ -530,6 +530,13 @@ public class LDAPOperationManager { } throw ae; + } catch(RuntimeException re){ + if (logger.isDebugEnabled()) { + logger.debugf(re, "LDAP Connection TimeOut for DN [%s]", dn); + } + + throw re; + } catch (Exception e) { logger.errorf(e, "Unexpected exception when validating password of DN [%s]", dn); throw new AuthenticationException("Unexpected exception when validating password of user");