public class BsiPasswordPolicyChangePasswordHook extends java.lang.Object implements ChangePasswordHook
Constructor and Description |
---|
BsiPasswordPolicyChangePasswordHook(PasswordHasher passwordHasher,
BsiPasswordPolicyService bsiPasswordPolicyService) |
Modifier and Type | Method and Description |
---|---|
void |
afterPasswordChanged(User user) |
void |
beforePasswordChanged(User user,
java.lang.String newPassword) |
public BsiPasswordPolicyChangePasswordHook(PasswordHasher passwordHasher, BsiPasswordPolicyService bsiPasswordPolicyService)
public void afterPasswordChanged(User user)
afterPasswordChanged
in interface ChangePasswordHook
public void beforePasswordChanged(User user, java.lang.String newPassword) throws ExpectedException
beforePasswordChanged
in interface ChangePasswordHook
ExpectedException