| 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 name)
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 |
EncryptionMethod.getAlgorithm() |
| 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) |
static byte[] |
PasswordUtil.encryptPassword(byte[] credentials,
LdapSecurityConstants algorithm,
byte[] salt)
encrypts the given credentials based on the algorithm name and optional salt
|
| Constructor and Description |
|---|
EncryptionMethod(LdapSecurityConstants algorithm,
byte[] salt) |
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.