Package com.pingidentity.sdk.password
Class PasswordPolicyRequirementValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.pingidentity.sdk.password.PasswordValidationException
-
- com.pingidentity.sdk.password.PasswordCredentialValidatorAuthnException
-
- com.pingidentity.sdk.password.PasswordPolicyRequirementValidationException
-
- All Implemented Interfaces:
Serializable
public class PasswordPolicyRequirementValidationException extends PasswordCredentialValidatorAuthnException
Password policy requirement exception thrown during password authentication. This exception is thrown when a password policy requirement is not met. This type of exception is intended to be recoverable since the user can make corrections to fix the exception.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getRequirementsMet(Locale locale)Get the list of localized messages for the password requirements that have been met.List<String>getRequirementsNotMet(Locale locale)Get the list of localized messages for the password requirements that have been met.-
Methods inherited from class com.pingidentity.sdk.password.PasswordCredentialValidatorAuthnException
getAuditErrorMessage, getErrorSource, getMessage, getMessageKey, isRecoverable
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PasswordPolicyRequirementValidationException
public PasswordPolicyRequirementValidationException(String message, List<Message> requirementsMet, List<Message> requirementsNotMet)
Construct a password policy requirement validation exception.- Parameters:
message- The exception message to use.requirementsMet- The list of messages related to password requirements that are met.requirementsNotMet- The list of messages related to password requirements that are not met.
-
-