Class PasswordDetails

    • Constructor Detail

      • PasswordDetails

        public PasswordDetails​(LdapSecurityConstants algorithm,
                               byte[] salt,
                               byte[] password)
        Creates a new PasswordDetails instance
        Parameters:
        algorithm - The algorithm to use
        salt - The Salt to use
        password - The password
    • Method Detail

      • getAlgorithm

        public LdapSecurityConstants getAlgorithm()
        The hash algorithm used to hash the password, null for plain text passwords.
        Returns:
        the hash algorithm used to hash the password, null for plain text passwords
      • getSalt

        public byte[] getSalt()
        The salt used to hash the password, null if no salt was used.
        Returns:
        the salt used to hash the password, null if no salt was used
      • getPassword

        public byte[] getPassword()
        The hashed or plain text password.
        Returns:
        the hashed or plain text password