SEC-2757: Removed assertion of 'sn' needing to be defined on Person when creating LdapUserDetails

This commit is contained in:
Carl Karawani 2015-06-15 16:54:54 -04:00
parent 7b4a37f27e
commit d1cfb1ca74

View File

@ -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