Top Description Fields Constructors Methods
org.apache.hc.client5.http.auth

public final Class StandardAuthScheme

extends Object
Class Inheritance

Authentication schemes by their names supported by the HttpClient.
Since
4.3

Field Summary

Modifier and TypeField and Description
public static final String
BASIC

Basic authentication scheme (considered inherently insecure without TLS, but most widely supported).

public static final String
BEARER

Bearer authentication scheme (should be used with TLS).

public static final String
DIGEST

Digest authentication scheme.

public static final String
KERBEROS

Kerberos authentication scheme as defined in RFC 4120.

public static final String
NTLM

The NTLM authentication scheme is a proprietary Microsoft Windows authentication protocol as defined in [MS-NLMP].

public static final String
SPNEGO

SPNEGO authentication scheme as defined in RFC 4559 and RFC 4178.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BASICback to summary
public static final String BASIC

Basic authentication scheme (considered inherently insecure without TLS, but most widely supported).

BEARERback to summary
public static final String BEARER

Bearer authentication scheme (should be used with TLS).

DIGESTback to summary
public static final String DIGEST

Digest authentication scheme.

KERBEROSback to summary
public static final String KERBEROS

Deprecated

Do not use. The GGS based experimental authentication schemes are no longer supported. Consider using Basic or Bearer authentication with TLS instead.

Kerberos authentication scheme as defined in RFC 4120.

Annotations
@Deprecated
NTLMback to summary
public static final String NTLM

Deprecated

Do not use. the NTLM authentication scheme is no longer supported. Consider using Basic or Bearer authentication with TLS instead.

The NTLM authentication scheme is a proprietary Microsoft Windows authentication protocol as defined in [MS-NLMP].

Annotations
@Deprecated
SPNEGOback to summary
public static final String SPNEGO

Deprecated

Do not use. The GGS based experimental authentication schemes are no longer supported. Consider using Basic or Bearer authentication with TLS instead.

SPNEGO authentication scheme as defined in RFC 4559 and RFC 4178.

Annotations
@Deprecated

Constructor Detail

StandardAuthSchemeback to summary
private StandardAuthScheme()