store ssha512 password hash fix
This commit is contained in:
parent
12eca73c21
commit
9fc2991cf6
@ -52,8 +52,7 @@ public class User implements Serializable, LDAPBean {
|
||||
public void setAndValidatePassword(String password) throws SimplePasswordException, NoSuchAlgorithmException {
|
||||
final PasswordValidator validator = new PasswordValidator();
|
||||
validator.validate(password);
|
||||
validator.createSaltedSHA512Hash(password);
|
||||
this.password = password;
|
||||
this.password = validator.createSaltedSHA512Hash(password);
|
||||
}
|
||||
|
||||
public String getFirstname() {
|
||||
|
Loading…
Reference in New Issue
Block a user