Class KerberosSchemeFactory
- java.lang.Object
-
- org.apache.hc.client5.http.impl.auth.KerberosSchemeFactory
-
- All Implemented Interfaces:
AuthSchemeFactory
@Deprecated @Contract(threading=STATELESS) @Experimental public class KerberosSchemeFactory extends java.lang.Object implements AuthSchemeFactory
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 initializesKerberosScheme
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
Fields Modifier and Type Field Description private KerberosConfig
config
Deprecated.static KerberosSchemeFactory
DEFAULT
Deprecated.Singleton instance for the default configuration.private DnsResolver
dnsResolver
Deprecated.
-
Constructor Summary
Constructors Constructor Description KerberosSchemeFactory(KerberosConfig config, DnsResolver dnsResolver)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AuthScheme
create(org.apache.hc.core5.http.protocol.HttpContext context)
Deprecated.Creates an instance ofAuthScheme
.
-
-
-
Field Detail
-
DEFAULT
public static final KerberosSchemeFactory DEFAULT
Deprecated.Singleton instance for the default configuration.
-
config
private final KerberosConfig config
Deprecated.
-
dnsResolver
private final DnsResolver dnsResolver
Deprecated.
-
-
Constructor Detail
-
KerberosSchemeFactory
public KerberosSchemeFactory(KerberosConfig config, DnsResolver dnsResolver)
Deprecated.- Since:
- 5.0
-
-
Method Detail
-
create
public AuthScheme create(org.apache.hc.core5.http.protocol.HttpContext context)
Deprecated.Description copied from interface:AuthSchemeFactory
Creates an instance ofAuthScheme
.- Specified by:
create
in interfaceAuthSchemeFactory
- Returns:
- auth scheme.
-
-