Class SPNegoScheme
java.lang.Object
org.apache.hc.client5.http.impl.auth.GGSSchemeBase
org.apache.hc.client5.http.impl.auth.SPNegoScheme
- All Implemented Interfaces:
AuthScheme
Deprecated.
Do not use. The GGS based experimental authentication schemes are no longer
supported. Consider using Basic or Bearer authentication with TLS instead.
SPNEGO (Simple and Protected GSSAPI Negotiation Mechanism) authentication
scheme.
Please note this class is considered experimental and may be discontinued or removed in the future.
- Since:
- 4.2
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class GGSSchemeBase
GGSSchemeBase.State -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.SPNegoScheme(KerberosConfig config, DnsResolver dnsResolver) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]generateToken(byte[] input, String serviceName, String authServer) Deprecated.getName()Deprecated.Returns textual designation of the given authentication scheme.booleanDeprecated.Determines if the authentication scheme is expected to provide an authorization response on a per connection basis instead of the standard per request basisMethods inherited from class GGSSchemeBase
createGSSContext, generateAuthResponse, generateGSSToken, getManager, getPrincipal, getRealm, isChallengeComplete, isResponseReady, processChallenge, toString
-
Field Details
-
SPNEGO_OID
-
-
Constructor Details
-
SPNegoScheme
-
SPNegoScheme
public SPNegoScheme()Deprecated.
-
-
Method Details
-
getName
Deprecated.Description copied from interface:AuthSchemeReturns textual designation of the given authentication scheme.- Returns:
- the name of the given authentication scheme
-
generateToken
protected byte[] generateToken(byte[] input, String serviceName, String authServer) throws GSSException Deprecated.- Specified by:
generateTokenin classGGSSchemeBase- Throws:
GSSException
-
isConnectionBased
public boolean isConnectionBased()Deprecated.Description copied from interface:AuthSchemeDetermines if the authentication scheme is expected to provide an authorization response on a per connection basis instead of the standard per request basis- Returns:
trueif the scheme is connection based,falseif the scheme is request based.
-