| Package | Description |
|---|---|
| org.apache.directory.api.ldap.model.constants | |
| org.apache.directory.api.ldap.model.password |
| Modifier and Type | Method and Description |
|---|---|
static LdapSecurityConstants |
LdapSecurityConstants.getAlgorithm(String algorithm)
Get the associated constant from a string
|
static LdapSecurityConstants |
LdapSecurityConstants.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LdapSecurityConstants[] |
LdapSecurityConstants.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static LdapSecurityConstants |
PasswordUtil.findAlgorithm(byte[] credentials)
Get the algorithm from the stored password.
|
LdapSecurityConstants |
PasswordDetails.getAlgorithm()
The hash algorithm used to hash the password, null for plain text passwords.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
PasswordUtil.createStoragePassword(byte[] credentials,
LdapSecurityConstants algorithm)
create a hashed password in a format that can be stored in the server.
|
static byte[] |
PasswordUtil.createStoragePassword(String credentials,
LdapSecurityConstants algorithm) |
| Constructor and Description |
|---|
PasswordDetails(LdapSecurityConstants algorithm,
byte[] salt,
byte[] password) |
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.