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()
          Method will return a list of hashes of previously used passwords.
 java.lang.String getUserID()
          Method will return user id of the entity for which the password is being generated.
 java.lang.String getUserName()
          Method will return user name of the 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()
Method will 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()
Method will return user id of the entity for which the password is being generated.

getUserName

public java.lang.String getUserName()
Method will return user name of the entity for which the password is being generated.