Skip to content
Snippets Groups Projects
Commit 8489a462 authored by Jeff Burke's avatar Jeff Burke
Browse files

s1728: removed some debug messages

parent 340bcb14
No related branches found
No related tags found
No related merge requests found
......@@ -312,7 +312,7 @@ public class LdapUserDAO<T extends Principal> extends LdapDAO
catch (UserNotFoundException e)
{
throw new RuntimeException("BUG: new user " + userDN.toNormalizedString() +
" not found because " + e.getMessage());
" not found");
}
}
catch (LDAPException e)
......
......@@ -262,12 +262,10 @@ public class UserServlet extends HttpServlet
Set<Principal> principals = extractor.getPrincipals();
log.debug("Principals: " + principals);
log.debug("notAugmentedX500User" + notAugmentedX500User);
for (Principal principal : principals)
{
if (principal instanceof X500Principal)
{
log.debug("principal: " + principal.getName());
if (principal.getName().equalsIgnoreCase(notAugmentedX500User))
{
return true;
......
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