Class InvalidPasswordException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.irurueta.authserver.authorization.domain.password.InvalidPasswordException
- All Implemented Interfaces:
Serializable
The chosen password breaks the
PasswordPolicy.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longSerialization version.private final List<PasswordViolation> The rules the password breaks. -
Constructor Summary
ConstructorsConstructorDescriptionInvalidPasswordException(List<PasswordViolation> violations) Creates the exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version.- See Also:
-
violations
The rules the password breaks.
-
-
Constructor Details
-
InvalidPasswordException
Creates the exception.- Parameters:
violations- the rules the password breaks.
-
-
Method Details
-
getViolations
Gets the broken rules.- Returns:
- the rules the password breaks, never empty.
-