public enum AuthSchemes extends Enum<AuthSchemes>
| Enum Constant and Description |
|---|
BASIC
Basic authentication scheme as defined in RFC 2617 (considered inherently
insecure, but most widely supported).
|
DIGEST
Digest authentication scheme as defined in RFC 2617.
|
KERBEROS
Kerberos authentication scheme as defined in RFC 4120
(considered to be the most secure among currently supported
authentication schemes).
|
NTLM
The NTLM authentication scheme is a proprietary Microsoft Windows
authentication protocol as defined in [MS-NLMP].
|
SPNEGO
SPNEGO authentication scheme as defined in RFC 4559 and RFC 4178
(considered to be the most secure among currently supported
authentication schemes if Kerberos is selected).
|
| Modifier and Type | Method and Description |
|---|---|
static AuthSchemes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthSchemes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthSchemes BASIC
public static final AuthSchemes DIGEST
public static final AuthSchemes NTLM
public static final AuthSchemes SPNEGO
public static final AuthSchemes KERBEROS
public final String ident
public static AuthSchemes[] values()
for (AuthSchemes c : AuthSchemes.values()) System.out.println(c);
public static AuthSchemes 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 © 1999–2018 The Apache Software Foundation. All rights reserved.