mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-26 22:02:41 +00:00
SEC-2757: Removed assertion of 'sn' needing to be defined on Person when creating LdapUserDetails
This commit is contained in:
parent
7b4a37f27e
commit
d1cfb1ca74
@ -138,7 +138,6 @@ public class Person extends LdapUserDetailsImpl {
|
|||||||
|
|
||||||
public LdapUserDetails createUserDetails() {
|
public LdapUserDetails createUserDetails() {
|
||||||
Person p = (Person) super.createUserDetails();
|
Person p = (Person) super.createUserDetails();
|
||||||
Assert.hasLength(p.sn);
|
|
||||||
Assert.notNull(p.cn);
|
Assert.notNull(p.cn);
|
||||||
Assert.notEmpty(p.cn);
|
Assert.notEmpty(p.cn);
|
||||||
// TODO: Check contents for null entries
|
// TODO: Check contents for null entries
|
||||||
|
Loading…
x
Reference in New Issue
Block a user