Class ValidationResult

java.lang.Object
oracle.iam.passwordmgmt.vo.ValidationResult
All Implemented Interfaces:
Serializable

public class ValidationResult extends Object implements 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 Details

    • ValidationResult

      public ValidationResult()
      Constructs a ValidationResult
    • ValidationResult

      public ValidationResult(Boolean isPasswordValid)
      Constructs a ValidationResult with password validation result
      Parameters:
      isPasswordValid -
  • Method Details

    • getPasswordPolicyDescription

      public PasswordPolicyDescription getPasswordPolicyDescription()
      Gets the PasswordPolicyDescription of the applicable password policy
      Returns:
      PasswordPolicyDescription of the applicable password policy
    • setPasswordPolicyDescription

      public void setPasswordPolicyDescription(PasswordPolicyDescription passwordPolicyDescription)
      Sets the PasswordPolicyDescription 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

      public String getValidationErrorMessage()
      Gets the error message of password validation result
      Returns:
      error message of password validation result
    • setValidationErrorMessage

      public void setValidationErrorMessage(String validationErrorMessage)
      Sets the error message of password validation result
      Parameters:
      validationErrorMessage - error message of password validation result
    • getPolicyViolationsDescription

      public PasswordPolicyViolationsDescription 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

      public PasswordPolicyInfo getPasswordPolicyInfo()
      returns information about the password policy used for validation
      Returns:
      information about the password policy used for validation
    • setPasswordPolicyInfo

      public void setPasswordPolicyInfo(PasswordPolicyInfo passwordPolicyInfo)
      Gets the information about the password policy used for validation
      Parameters:
      passwordPolicyInfo - the passwordPolicyInfo to set