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>
errorMessages
If 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 boolean
equals(Object o)
List<String>
getErrorMessages()
If the password failed validation, this holds all of the reason why.int
hashCode()
boolean
isFailure()
Whether or not the password passed validationString
toString()
-