public interface PasswordRequestValidator
This validator uses regex to validate new passwords for registration and password resets. The validation has been broken down into segments that are commonly used:
DefaultPasswordRequestValidator,
PasswordValidatorProperties| Modifier and Type | Method and Description |
|---|---|
boolean |
doesPasswordConfirmationMatch(String password,
String pwdConfirm)
Ensures that both the passwords match, excluding 'null' matches.
|
PasswordValidation |
validate(String password)
Validates the password
|
@NonNull PasswordValidation validate(@Nullable String password)
password - boolean doesPasswordConfirmationMatch(@Nullable
String password,
@Nullable
String pwdConfirm)
password - what the user typed in as the passwordpwdConfirm - confirmation dialogue that the user gaveCopyright © 2021. All rights reserved.