Class SPNegoSchemeFactory
- java.lang.Object
-
- org.apache.hc.client5.http.impl.auth.SPNegoSchemeFactory
-
- All Implemented Interfaces:
AuthSchemeFactory
@Deprecated @Contract(threading=STATELESS) @Experimental public class SPNegoSchemeFactory 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.AuthSchemeFactoryimplementation that creates and initializesSPNegoSchemeinstances.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 KerberosConfigconfigDeprecated.static SPNegoSchemeFactoryDEFAULTDeprecated.Singleton instance for the default configuration.private DnsResolverdnsResolverDeprecated.
-
Constructor Summary
Constructors Constructor Description SPNegoSchemeFactory(KerberosConfig config, DnsResolver dnsResolver)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AuthSchemecreate(org.apache.hc.core5.http.protocol.HttpContext context)Deprecated.Creates an instance ofAuthScheme.
-
-
-
Field Detail
-
DEFAULT
public static final SPNegoSchemeFactory DEFAULT
Deprecated.Singleton instance for the default configuration.
-
config
private final KerberosConfig config
Deprecated.
-
dnsResolver
private final DnsResolver dnsResolver
Deprecated.
-
-
Constructor Detail
-
SPNegoSchemeFactory
public SPNegoSchemeFactory(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:AuthSchemeFactoryCreates an instance ofAuthScheme.- Specified by:
createin interfaceAuthSchemeFactory- Returns:
- auth scheme.
-
-