Interface IPasswordFactory


  • public interface IPasswordFactory
    A factory for handling stored representation of passwords
    • Method Detail

      • getPassword

        IPassword getPassword​(String strStoredPassword)
        Get a password for the stored representation
        Parameters:
        strStoredPassword - the stored password
        Returns:
        the password
      • getPasswordFromCleartext

        IPassword getPasswordFromCleartext​(String strUserPassword)
        Get a password for cleartext password
        Parameters:
        strUserPassword - the cleartext password
        Returns:
        the password
      • getDummyPassword

        IPassword getDummyPassword()
        Get a password which should never match, to be used for timing attack resistance
        Returns:
        a dummy password