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

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.


IBM Tivoli Identity Manager 5.1
© Copyright International Business Machines Corporation 2007, 2009. All rightsreserved. US Government Users Restricited RightsUse, duplication or disclosure restricted by GSA ADP ScheduleContract with IBM Corp.