how to read password hashes
This commit is contained in:
parent
9fc2991cf6
commit
2bfcfefe04
@ -80,5 +80,5 @@ public class PasswordValidator {
|
||||
final String encode = BASE64.encodeAsString(hashBytes);
|
||||
return LABEL + new String(encode);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -38,6 +38,7 @@ public class UsersDAO {
|
||||
usr.setDisplayname(session.getStringValue(attribs, "displayName"));
|
||||
usr.setLogin(session.getStringValue(attribs, "uid"));
|
||||
usr.setDn(result.getNameInNamespace());
|
||||
// usr.setPassword(new String(session.getBytesValue(attribs, "userPassword")));
|
||||
usersHash.put(usr.getDn(), usr);
|
||||
}
|
||||
return usersHash;
|
||||
|
Loading…
Reference in New Issue
Block a user