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.
 java.util.List getPasswordHistory()
          Return a list of hashes of previously used passwords.
 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

public 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

public 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

public 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

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

Returns:
String representing the user name.


IBM Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.