1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Merge pull request #200 from ckarawani/master

SEC-2757: Removed assertion of 'sn' when creating LdapUserDetails
This commit is contained in:
Rob Winch
2015-10-01 16:18:26 -05:00
@@ -138,7 +138,6 @@ public class Person extends LdapUserDetailsImpl {
public LdapUserDetails createUserDetails() {
Person p = (Person) super.createUserDetails();
Assert.hasLength(p.sn);
Assert.notNull(p.cn);
Assert.notEmpty(p.cn);
// TODO: Check contents for null entries