public class ValidationResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ValidationResult()
Constructs a
ValidationResult |
ValidationResult(java.lang.Boolean isPasswordValid)
Constructs a
ValidationResult with password validation result |
| Modifier and Type | Method and Description |
|---|---|
PasswordPolicyDescription |
getPasswordPolicyDescription()
Gets the
PasswordPolicyDescription of the applicable password policy |
PasswordPolicyInfo |
getPasswordPolicyInfo()
returns information about the password policy used for validation
|
PasswordPolicyViolationsDescription |
getPolicyViolationsDescription()
Gets the descriptions of the violations of the password policy
|
java.lang.String |
getValidationErrorMessage()
Gets the error message of password validation result
|
boolean |
isPasswordValid()
Returns true,if the password is valid, false otherwise
|
void |
setPasswordPolicyDescription(PasswordPolicyDescription passwordPolicyDescription)
Sets the
PasswordPolicyDescription of the applicable password policy |
void |
setPasswordPolicyInfo(PasswordPolicyInfo passwordPolicyInfo)
Gets the information about the password policy used for validation
|
void |
setPasswordValid(boolean isPasswordValid)
Sets true if the password is valid, false otherwise
|
void |
setPolicyViolationsDescription(PasswordPolicyViolationsDescription policyViolationsDescription)
Sets the descriptions of the violations of the password policy
|
void |
setValidationErrorMessage(java.lang.String validationErrorMessage)
Sets the error message of password validation result
|
public ValidationResult()
ValidationResultpublic ValidationResult(java.lang.Boolean isPasswordValid)
ValidationResult with password validation resultisPasswordValid - public PasswordPolicyDescription getPasswordPolicyDescription()
PasswordPolicyDescription of the applicable password policyPasswordPolicyDescription of the applicable password policypublic void setPasswordPolicyDescription(PasswordPolicyDescription passwordPolicyDescription)
PasswordPolicyDescription of the applicable password policypublic boolean isPasswordValid()
public void setPasswordValid(boolean isPasswordValid)
isPasswordValid - true if the password is valid, false otherwisepublic java.lang.String getValidationErrorMessage()
public void setValidationErrorMessage(java.lang.String validationErrorMessage)
validationErrorMessage - error message of password validation resultpublic PasswordPolicyViolationsDescription getPolicyViolationsDescription()
public void setPolicyViolationsDescription(PasswordPolicyViolationsDescription policyViolationsDescription)
policyViolationsDescription - description of the password policy violationspublic PasswordPolicyInfo getPasswordPolicyInfo()
public void setPasswordPolicyInfo(PasswordPolicyInfo passwordPolicyInfo)
passwordPolicyInfo - the passwordPolicyInfo to set