public static enum Authorization.Encoding extends Enum<Authorization.Encoding>
Enum Constant and Description |
---|
MD5
Password hashed with MD5.
|
PLAIN_TEXT
Plain-text password (not hashed at all).
|
Modifier and Type | Method and Description |
---|---|
static Authorization.Encoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Authorization.Encoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Authorization.Encoding PLAIN_TEXT
public static final Authorization.Encoding MD5
public static Authorization.Encoding[] values()
for (Authorization.Encoding c : Authorization.Encoding.values()) System.out.println(c);
public static Authorization.Encoding 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 nullCopyright © 2014. All Rights Reserved.