Class PasswordValidationResult
java.lang.Object
ch.tocco.nice2.web.core.api.auth.password.PasswordValidationResult
- All Implemented Interfaces:
Serializable
The result of a PasswordValidator.
If valid is false it should contain at least one error message.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
-
Constructor Summary
ConstructorDescription -
Method Summary
-
Constructor Details
-
PasswordValidationResult
public PasswordValidationResult() -
PasswordValidationResult
-
PasswordValidationResult
public PasswordValidationResult(List<PasswordValidationResult.ValidationResultDetail> errorMessages)
-
-
Method Details
-
isValid
public boolean isValid() -
getErrorMessages
-