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

public Class KerberosSchemeFactory

extends Object
implements AuthSchemeFactory
Class Inheritance
All Implemented Interfaces
org.apache.hc.client5.http.auth.AuthSchemeFactory
Annotations
@Deprecated
@Contract
threading:STATELESS
@Experimental
Imports
org.apache.hc.client5.http.DnsResolver, .SystemDefaultDnsResolver, org.apache.hc.client5.http.auth.AuthScheme, .AuthSchemeFactory, org.apache.hc.core5.annotation.Contract, .Experimental, .ThreadingBehavior, org.apache.hc.core5.http.protocol.HttpContext

Deprecated

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

AuthSchemeFactory implementation that creates and initializes KerberosScheme instances.

Please note this class is considered experimental and may be discontinued or removed in the future.

Since
4.2
See Also
BasicSchemeFactory, BearerSchemeFactory

Field Summary

Modifier and TypeField and Description
private final KerberosConfig
config

Deprecated as a consequence of KerberosConfig being deprecated.
public static final KerberosSchemeFactory
DEFAULT

Singleton instance for the default configuration.

private final DnsResolver

Constructor Summary

AccessConstructor and Description
public
KerberosSchemeFactory(final KerberosConfig config, final DnsResolver dnsResolver)

Deprecated as a consequence of KerberosConfig being deprecated.

Method Summary

Modifier and TypeMethod and Description
public AuthScheme
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

configback to summary
private final KerberosConfig config

Deprecated

as a consequence of KerberosConfig being deprecated. See corresponding docs for further information.

DEFAULTback to summary
public static final KerberosSchemeFactory DEFAULT

Deprecated

as a consequence of KerberosSchemeFactory being deprecated. See corresponding docs for further information.

Singleton instance for the default configuration.

dnsResolverback to summary
private final DnsResolver dnsResolver

Constructor Detail

KerberosSchemeFactoryback to summary
public KerberosSchemeFactory(final KerberosConfig config, final DnsResolver dnsResolver)

Deprecated

as a consequence of KerberosConfig being deprecated. See corresponding docs for further information.

Since
5.0

Method Detail

createback to summary
public AuthScheme create(final HttpContext context)

Implements org.apache.hc.client5.http.auth.AuthSchemeFactory.create.

Doc from org.apache.hc.client5.http.auth.AuthSchemeFactory.create.

Creates an instance of AuthScheme.

Returns:AuthScheme

auth scheme.

Annotations
@Override