public static enum AuthManager.Mechanism extends Enum<AuthManager.Mechanism>
Enum Constant and Description |
---|
BASIC
Basic Auth
|
BASIC_DIGEST
Deprecated.
(use
BASIC ) |
DIGEST
Digest Auth
|
KERBEROS
Kerberos Auth
|
Modifier and Type | Method and 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.
|
@Deprecated public static final AuthManager.Mechanism BASIC_DIGEST
BASIC
)public static final AuthManager.Mechanism BASIC
public static final AuthManager.Mechanism 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-2019 Apache Software Foundation. All Rights Reserved.