Skip navigation links


oracle.iam.passwordmgmt.vo
Class ValidationResult

java.lang.Object
  extended by oracle.iam.passwordmgmt.vo.ValidationResult

All Implemented Interfaces:
java.io.Serializable

public class ValidationResult
extends java.lang.Object
implements java.io.Serializable

Result of the validation of a password against the applicable PasswordPolicy

Since:
OIM 11gR1
See Also:
Serialized Form

Constructor Summary
ValidationResult()
          Constructs a ValidationResult
ValidationResult(java.lang.Boolean isPasswordValid)
          Constructs a ValidationResult with password validation result

 

Method Summary
 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

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ValidationResult

public ValidationResult()
Constructs a ValidationResult

ValidationResult

public ValidationResult(java.lang.Boolean isPasswordValid)
Constructs a ValidationResult with password validation result
Parameters:
isPasswordValid -

Method Detail

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 java.lang.String getValidationErrorMessage()
Gets the error message of password validation result
Returns:
error message of password validation result

setValidationErrorMessage

public void setValidationErrorMessage(java.lang.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

Skip navigation links


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.