Package io.jmix.securityflowui.password
Class PasswordValidation
java.lang.Object
io.jmix.securityflowui.password.PasswordValidation
Runs all existing
PasswordValidator
s and returns the list of validation errors.- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setPasswordValidators
(List<PasswordValidator> passwordValidators) Runs all existingPasswordValidator
s.
-
Field Details
-
passwordValidators
-
-
Constructor Details
-
PasswordValidation
public PasswordValidation()
-
-
Method Details
-
setPasswordValidators
@Autowired(required=false) public void setPasswordValidators(List<PasswordValidator> passwordValidators) -
validate
Runs all existingPasswordValidator
s.- Parameters:
user
- user entitypassword
- password to validate- Returns:
- list of validation error messages, or empty list if there were no errors
-