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 aValidationResultValidationResult(Boolean isPasswordValid) Constructs aValidationResultwith password validation result -
Method Summary
Modifier and TypeMethodDescriptionGets thePasswordPolicyDescriptionof 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 resultbooleanReturns true,if the password is valid, false otherwisevoidsetPasswordPolicyDescription(PasswordPolicyDescription passwordPolicyDescription) Sets thePasswordPolicyDescriptionof the applicable password policyvoidsetPasswordPolicyInfo(PasswordPolicyInfo passwordPolicyInfo) Gets the information about the password policy used for validationvoidsetPasswordValid(boolean isPasswordValid) Sets true if the password is valid, false otherwisevoidsetPolicyViolationsDescription(PasswordPolicyViolationsDescription policyViolationsDescription) Sets the descriptions of the violations of the password policyvoidsetValidationErrorMessage(String validationErrorMessage) Sets the error message of password validation result
-
Constructor Details
-
ValidationResult
public ValidationResult()Constructs aValidationResult -
ValidationResult
Constructs aValidationResultwith password validation result- Parameters:
isPasswordValid-
-
-
Method Details
-
getPasswordPolicyDescription
Gets thePasswordPolicyDescriptionof the applicable password policy- Returns:
PasswordPolicyDescriptionof the applicable password policy
-
setPasswordPolicyDescription
Sets thePasswordPolicyDescriptionof 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
-