Update LDAPOperationManager.java (#9561)

Update LDAPOperationManager.java
Closes #9560
This commit is contained in:
pravsjv 2022-01-20 08:33:56 -08:00 committed by GitHub
parent b8d3c12a08
commit a6acc89bf3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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");