Class PasswordPolicyViolationDetail
java.lang.Object
com.pingidentity.sdk.api.authn.model.AuthnErrorDetail
com.pingidentity.sdk.api.authn.model.PasswordPolicyViolationDetail
The API model representing additional details for password policy violation error(s) returned by the Authentication API.
- Since:
- 9.3
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pingidentity.sdk.api.authn.model.AuthnErrorDetail
AuthnErrorDetail.Builder -
Constructor Summary
ConstructorsConstructorDescriptionCreate an instance.PasswordPolicyViolationDetail(String code, String message, String userMessageKey, List<PasswordPolicyValidatorResult> satisfiedValidators, List<PasswordPolicyValidatorResult> failedValidators) Create an instance with the specified parameters. -
Method Summary
Modifier and TypeMethodDescriptionGet the list of failed password policies.Get the list of satisfied password policies.voidsetFailedValidators(List<PasswordPolicyValidatorResult> failedValidators) Set the list of failed password policies.voidsetSatisfiedValidators(List<PasswordPolicyValidatorResult> satisfiedValidators) Set the list of satisfied password policies.Methods inherited from class com.pingidentity.sdk.api.authn.model.AuthnErrorDetail
getCode, getMessage, getTarget, getUserMessage, getUserMessageKey, setCode, setMessage, setTarget, setUserMessage, setUserMessageKey
-
Constructor Details
-
PasswordPolicyViolationDetail
public PasswordPolicyViolationDetail()Create an instance. -
PasswordPolicyViolationDetail
public PasswordPolicyViolationDetail(String code, String message, String userMessageKey, List<PasswordPolicyValidatorResult> satisfiedValidators, List<PasswordPolicyValidatorResult> failedValidators) Create an instance with the specified parameters.- Parameters:
code- The error code.message- The error message.userMessageKey- The user-facing error message key.satisfiedValidators- The list of satisfied password policies.failedValidators- the list of failed password policies.
-
-
Method Details
-
getSatisfiedValidators
Get the list of satisfied password policies. -
setSatisfiedValidators
Set the list of satisfied password policies. -
getFailedValidators
Get the list of failed password policies. -
setFailedValidators
Set the list of failed password policies.
-