Serializable, Comparable<AuthManager.Mechanism>public static enum AuthManager.Mechanism extends Enum<AuthManager.Mechanism>
| Enum Constant | Description |
|---|---|
BASIC_DIGEST |
|
KERBEROS |
| Modifier and Type | Method | Description |
|---|---|---|
static AuthManager.Mechanism |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static AuthManager.Mechanism[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthManager.Mechanism BASIC_DIGEST
public static final AuthManager.Mechanism KERBEROS
public static AuthManager.Mechanism[] values()
for (AuthManager.Mechanism c : AuthManager.Mechanism.values()) System.out.println(c);
public static AuthManager.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 © 1998-2018 Apache Software Foundation. All Rights Reserved.