Package oracle.iam.passwordmgmt.vo
Class ValidationResult
java.lang.Object
oracle.iam.passwordmgmt.vo.ValidationResult
- All Implemented Interfaces:
Serializable
Result of the validation of a password against the applicable PasswordPolicy
- Since:
- OIM 11gR1
- Version:
- $Header: iam/iam-product/features/passwordmgmt/src/main/oracle/iam/passwordmgmt/vo/ValidationResult.java /main/7 2014/12/22 05:44:53 anurkkum Exp $
- Author:
- sidhdas
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aValidationResult
ValidationResult
(Boolean isPasswordValid) Constructs aValidationResult
with password validation result -
Method Summary
Modifier and TypeMethodDescriptionGets thePasswordPolicyDescription
of the applicable password policyreturns information about the password policy used for validationGets the descriptions of the violations of the password policyGets the error message of password validation resultboolean
Returns true,if the password is valid, false otherwisevoid
setPasswordPolicyDescription
(PasswordPolicyDescription passwordPolicyDescription) Sets thePasswordPolicyDescription
of the applicable password policyvoid
setPasswordPolicyInfo
(PasswordPolicyInfo passwordPolicyInfo) Gets the information about the password policy used for validationvoid
setPasswordValid
(boolean isPasswordValid) Sets true if the password is valid, false otherwisevoid
setPolicyViolationsDescription
(PasswordPolicyViolationsDescription policyViolationsDescription) Sets the descriptions of the violations of the password policyvoid
setValidationErrorMessage
(String validationErrorMessage) Sets the error message of password validation result
-
Constructor Details
-
ValidationResult
public ValidationResult()Constructs aValidationResult
-
ValidationResult
Constructs aValidationResult
with password validation result- Parameters:
isPasswordValid
-
-
-
Method Details
-
getPasswordPolicyDescription
Gets thePasswordPolicyDescription
of the applicable password policy- Returns:
PasswordPolicyDescription
of the applicable password policy
-
setPasswordPolicyDescription
Sets thePasswordPolicyDescription
of the applicable password policy -
isPasswordValid
public boolean isPasswordValid()Returns true,if the password is valid, false otherwise- Returns:
- true if the password is valid, false otherwise
-
setPasswordValid
public void setPasswordValid(boolean isPasswordValid) Sets true if the password is valid, false otherwise- Parameters:
isPasswordValid
- true if the password is valid, false otherwise
-
getValidationErrorMessage
Gets the error message of password validation result- Returns:
- error message of password validation result
-
setValidationErrorMessage
Sets the error message of password validation result- Parameters:
validationErrorMessage
- error message of password validation result
-
getPolicyViolationsDescription
Gets the descriptions of the violations of the password policy- Returns:
- description of the password policy violations
-
setPolicyViolationsDescription
public void setPolicyViolationsDescription(PasswordPolicyViolationsDescription policyViolationsDescription) Sets the descriptions of the violations of the password policy- Parameters:
policyViolationsDescription
- description of the password policy violations
-
getPasswordPolicyInfo
returns information about the password policy used for validation- Returns:
- information about the password policy used for validation
-
setPasswordPolicyInfo
Gets the information about the password policy used for validation- Parameters:
passwordPolicyInfo
- the passwordPolicyInfo to set
-