Package com.pingidentity.sdk.password
Class PasswordPolicyRequirementResetException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.pingidentity.sdk.password.PasswordResetException
com.pingidentity.sdk.password.PasswordPolicyRequirementResetException
- All Implemented Interfaces:
Serializable
Password policy requirement exception thrown during password reset. 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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRequirementsMet(Locale locale) Get the list of localized messages for the password requirements that have been met.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.PasswordResetException
isRecoverableMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PasswordPolicyRequirementResetException
public PasswordPolicyRequirementResetException(String message, List<Message> requirementsMet, List<Message> requirementsNotMet) Construct a password policy requirement reset 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.
-
-
Method Details
-
getRequirementsMet
Get the list of localized messages for the password requirements that have been met.- Returns:
- The list of password quality requirements messages that are localized based on the user's locale.
-
getRequirementsNotMet
Get the list of localized messages for the password requirements that have been met.- Returns:
- The list of password quality requirements messages that are localized based on the user's locale.
-