Interface PasswordValidator
- All Known Implementing Classes:
DifferentFromOldPasswordValidator
,PasswordStrengthValidator
public interface PasswordValidator
-
Method Summary
Modifier and TypeMethodDescriptiongetRules()
validatePassword
(String username, String newPassword) Validates a new password
-
Method Details
-
validatePassword
Validates a new password- Parameters:
username
- the name of the user to validate the password fornewPassword
- the new password
-
getRules
List<PasswordRule> getRules()
-