public class PasswordDetails extends Object
Constructor and Description |
---|
PasswordDetails(LdapSecurityConstants algorithm,
byte[] salt,
byte[] password)
Creates a new PasswordDetails instance
|
Modifier and Type | Method and Description |
---|---|
LdapSecurityConstants |
getAlgorithm()
The hash algorithm used to hash the password, null for plain text passwords.
|
byte[] |
getPassword()
The hashed or plain text password.
|
byte[] |
getSalt()
The salt used to hash the password, null if no salt was used.
|
public PasswordDetails(LdapSecurityConstants algorithm, byte[] salt, byte[] password)
algorithm
- The algorithm to usesalt
- The Salt to usepassword
- The passwordpublic LdapSecurityConstants getAlgorithm()
public byte[] getSalt()
public byte[] getPassword()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.