public enum Mechanism extends Enum<Mechanism>
Enum Constant and Description |
---|
CRAM_MD5
Cram MD5 authentication type.
|
DIGEST_MD5
Digest MD5 authentication type.
|
EXTERNAL
External authentication type.
|
GSSAPI
Kerberos authentication type.
|
Modifier and Type | Method and Description |
---|---|
static Mechanism |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Mechanism[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Mechanism EXTERNAL
public static final Mechanism DIGEST_MD5
public static final Mechanism CRAM_MD5
public static final Mechanism GSSAPI
public static Mechanism[] values()
for (Mechanism c : Mechanism.values()) System.out.println(c);
public static Mechanism 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 © 2003-2019 Virginia Tech. All Rights Reserved.