public enum LdapSecurityConstants extends Enum<LdapSecurityConstants>
Enum Constant and Description |
---|
HASH_METHOD_CRYPT |
HASH_METHOD_MD5 |
HASH_METHOD_SHA |
HASH_METHOD_SHA256 |
HASH_METHOD_SMD5 |
HASH_METHOD_SSHA |
Modifier and Type | Method and Description |
---|---|
static LdapSecurityConstants |
getAlgorithm(String name)
Get the associated constant from a string
|
String |
getName()
Return the name associated with the constant.
|
static LdapSecurityConstants |
valueOf(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_MD5
public static final LdapSecurityConstants HASH_METHOD_SMD5
public static final LdapSecurityConstants HASH_METHOD_CRYPT
public static final LdapSecurityConstants HASH_METHOD_SHA256
public static LdapSecurityConstants[] values()
for (LdapSecurityConstants c : LdapSecurityConstants.values()) System.out.println(c);
public static LdapSecurityConstants valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
public static LdapSecurityConstants getAlgorithm(String name)
name
- The algorithm's nameCopyright © 2003–2015 The Apache Software Foundation. All rights reserved.