Class PasswordValidation
- java.lang.Object
-
- com.broadleafcommerce.auth.user.validation.PasswordValidation
-
public final class PasswordValidation extends Object
The result of validating a password against rules defined withinPasswordRequestValidator- Author:
- Phillip Verheyden (phillipuniverse)
-
-
Field Summary
Fields Modifier and Type Field Description List<String>errorMessagesIf the password failed validation, this holds all of the reason why.
-
Constructor Summary
Constructors Constructor Description PasswordValidation(boolean failure, List<String> errorMessages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<String>getErrorMessages()If the password failed validation, this holds all of the reason why.inthashCode()booleanisFailure()Whether or not the password passed validationStringtoString()
-