com.ibm.passwordrules.standard

Class PasswordHistoryItem

  • java.lang.Object
    • com.ibm.passwordrules.standard.PasswordHistoryItem
  • All Implemented Interfaces:
    java.io.Serializable


    public class PasswordHistoryItem
    extends java.lang.Object
    implements java.io.Serializable
    Objects of this class are used to hold information about an item on a password history list.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      PasswordHistoryItem(byte[] passwordHash, byte[] reversedPasswordHash)
      Constructor accepting password hash parameters
    • Constructor Detail

      • PasswordHistoryItem

        public PasswordHistoryItem(byte[] passwordHash,
                                   byte[] reversedPasswordHash)
        Constructor accepting password hash parameters
        Parameters:
        passwordHash - contains a hash of a previously used password
        reversedPasswordHash - - contains a hash of the reverse of a previously used password
    • Method Detail

      • getPasswordHash

        public byte[] getPasswordHash()
        Return password hash.
        Returns:
        password hash.
      • setPasswordHash

        public void setPasswordHash(byte[] passwordHash)
        Set password hash.
        Parameters:
        passwordHash - password hash.
      • getReversedPasswordHash

        public byte[] getReversedPasswordHash()
        Return reversed password hash
        Returns:
        reversed password hash
      • setReversedPasswordHash

        public void setReversedPasswordHash(byte[] reversedPasswordHash)
        Set reversed password hash
        Parameters:
        reversedPasswordHash - reversed password hash.