public enum LdapSecurityConstants extends java.lang.Enum<LdapSecurityConstants>
| Enum Constant and Description |
|---|
HASH_METHOD_CRYPT
The crypt encryption method
|
HASH_METHOD_MD5
The MD5 encryption method
|
HASH_METHOD_PKCS5S2
The PBKDF2-based encryption method
|
HASH_METHOD_SHA
The SHA encryption method
|
HASH_METHOD_SHA256
The SHA-256 encryption method
|
HASH_METHOD_SHA384
The SHA-384 encryption method
|
HASH_METHOD_SHA512
The SHA-512 encryption method
|
HASH_METHOD_SMD5
The Salter MD5 encryption method
|
HASH_METHOD_SSHA
The Salted SHA encryption method
|
HASH_METHOD_SSHA256
The salted SHA-256 encryption method
|
HASH_METHOD_SSHA384
The salted SHA-384 encryption method
|
HASH_METHOD_SSHA512
The salted SHA-512 encryption method
|
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
algorithm
The associated algorithm
|
private java.lang.String |
name
The associated name
|
private java.lang.String |
prefix
The associated prefix
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithm() |
static LdapSecurityConstants |
getAlgorithm(java.lang.String algorithm)
Get the associated constant from a string
|
java.lang.String |
getName() |
java.lang.String |
getPrefix() |
static LdapSecurityConstants |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LdapSecurityConstants[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LdapSecurityConstants HASH_METHOD_SHA
public static final LdapSecurityConstants HASH_METHOD_SSHA
public static final LdapSecurityConstants HASH_METHOD_SHA256
public static final LdapSecurityConstants HASH_METHOD_SSHA256
public static final LdapSecurityConstants HASH_METHOD_SHA384
public static final LdapSecurityConstants HASH_METHOD_SSHA384
public static final LdapSecurityConstants HASH_METHOD_SHA512
public static final LdapSecurityConstants HASH_METHOD_SSHA512
public static final LdapSecurityConstants HASH_METHOD_MD5
public static final LdapSecurityConstants HASH_METHOD_SMD5
public static final LdapSecurityConstants HASH_METHOD_CRYPT
public static final LdapSecurityConstants HASH_METHOD_PKCS5S2
private java.lang.String name
private java.lang.String algorithm
private java.lang.String prefix
public static LdapSecurityConstants[] values()
for (LdapSecurityConstants c : LdapSecurityConstants.values()) System.out.println(c);
public static LdapSecurityConstants valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
public java.lang.String getAlgorithm()
public java.lang.String getPrefix()
public static LdapSecurityConstants getAlgorithm(java.lang.String algorithm)
algorithm - The algorithm's name