Skip to content
Snippets Groups Projects
Commit c13f23e0 authored by brinn's avatar brinn
Browse files

add: debug message when a user can't be found in the directory

SVN: 19645
parent 31482cb7
No related branches found
No related tags found
No related merge requests found
......@@ -198,6 +198,10 @@ public final class LDAPPrincipalQuery implements ISelfTestable
final Principal principal = tryGetPrincipal(userId);
if (principal == null)
{
if (operationLog.isDebugEnabled())
{
operationLog.debug(String.format("User '%s' not found in LDAP directory.", userId));
}
return null;
}
authenticatePrincipal(principal, passwordOrNull);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment