com.ibm.passwordrules
Interface ValidationInfo

All Known Subinterfaces:
ProvisioningValidationInfo

public interface ValidationInfo

Interface for classes providing contextual information used to validate passwords.


Method Summary
 java.lang.Object getContext(java.lang.String key)
          Method is used to get contextual information about the password being validated.
 DistinguishedName getLastPasswordChangedBy()
          Return DistinguishedName of the requester for last password change operation.
 java.util.Date getLastPasswordChangedDate()
          Returns the date when the password was last changed for the account entity for which the password is generated.
 java.lang.String getOwnershipType()
          Returns the ownership type of the account for which the password is to be changed
 java.util.List getPasswordHistory()
          Return a list of hashes of previously used passwords.
 DistinguishedName getRequesterDN()
          Return DistinguishedName of requester of the operation for which the password is validated.
 DistinguishedName getUserDN()
          Return DistinguishedName of the person entity for which the password is being generated.
 java.lang.String getUserID()
          Return user id of the person entity for which the password is being generated.
 java.lang.String getUserName()
          Return user name of the person entity for which the password is being generated.
 

Method Detail

getContext

java.lang.Object getContext(java.lang.String key)
Method is used to get contextual information about the password being validated.

Parameters:
key - contains a name of a context object to be returned. Keys are usually defined in a class, which is responsible for creating all objects to be returned by this method and which implements this interface.
Returns:
Object containing a contextual information about the password being validated. Type of such object should be documented in classes implementing this interface.

getPasswordHistory

java.util.List getPasswordHistory()
Return a list of hashes of previously used passwords.

Returns:
List of PasswordHistoryItem objects containing hashes of passwords. Most recently used are listed first.
See Also:
PasswordHistoryItem

getUserID

java.lang.String getUserID()
Return user id of the person entity for which the password is being generated.

Returns:
String representing the user id.

getUserName

java.lang.String getUserName()
Return user name of the person entity for which the password is being generated.

Returns:
String representing the user name.

getUserDN

DistinguishedName getUserDN()
Return DistinguishedName of the person entity for which the password is being generated.

Returns:
DistinguishedName representing the user DN.

getLastPasswordChangedDate

java.util.Date getLastPasswordChangedDate()
Returns the date when the password was last changed for the account entity for which the password is generated.

Returns:
Date representing the last password changed Date.

getLastPasswordChangedBy

DistinguishedName getLastPasswordChangedBy()
Return DistinguishedName of the requester for last password change operation.

Returns:
DistinguishedName representing the user DN.

getRequesterDN

DistinguishedName getRequesterDN()
Return DistinguishedName of requester of the operation for which the password is validated.

Returns:
DistinguishedName representing the Requester's DistinguishedName.

getOwnershipType

java.lang.String getOwnershipType()
Returns the ownership type of the account for which the password is to be changed

Returns:
a string represents the name of the ownership type of the account.


IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.