mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-01 08:12:14 +00:00
Fixed dumb mistake in the DN of the second user object.
This commit is contained in:
parent
b634b27550
commit
3762ba25e8
@ -62,7 +62,7 @@ public class LdapDirInitializer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void dirInit_SimpleCnUser(DirContext ctx) throws NamingException {
|
private void dirInit_SimpleCnUser(DirContext ctx) throws NamingException {
|
||||||
String name = "cn=user.two,ou=users";
|
String name = "cn=User Two,ou=users";
|
||||||
Attributes attrs = new BasicAttributes();
|
Attributes attrs = new BasicAttributes();
|
||||||
attrs.put("dn", name + ",ou=system");
|
attrs.put("dn", name + ",ou=system");
|
||||||
attrs.put("cn", "Two User");
|
attrs.put("cn", "Two User");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user