Skip to content

Commit

Permalink
Reverted 45987d2/tbarbieri
Browse files Browse the repository at this point in the history
Login in with german umlauts in the distinguished name ist not possible
anyore. We tested sucessfully the revert with our setup.
See also: JENKINS-17692
  • Loading branch information
Marc Schoechlin committed Apr 29, 2013
1 parent 7f8fef3 commit 77ab72e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -290,7 +290,7 @@ public UserDetails retrieveUser(String username, String password, String domainN
}
}

Set<GrantedAuthority> groups = resolveGroups(domainDN, StringEscapeUtils.escapeJava(dn.toString()), context);
Set<GrantedAuthority> groups = resolveGroups(domainDN, dn.toString(), context);
groups.add(SecurityRealm.AUTHENTICATED_AUTHORITY);

return new ActiveDirectoryUserDetail(id, password, true, true, true, true, groups.toArray(new GrantedAuthority[groups.size()]),
Expand Down

1 comment on commit 77ab72e

@jglick
Copy link
Member

@jglick jglick commented on 77ab72e May 1, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverting pull #4 that is. Does this merit a 1.32 release?

Please sign in to comment.