Class KerberosScheme
- java.lang.Object
-
- org.apache.hc.client5.http.impl.auth.GGSSchemeBase
-
- org.apache.hc.client5.http.impl.auth.KerberosScheme
-
- All Implemented Interfaces:
AuthScheme
@Deprecated @Experimental public class KerberosScheme extends GGSSchemeBase
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.Please note this class is considered experimental and may be discontinued or removed in the future.
- Since:
- 4.2
- See Also:
BasicScheme,BearerScheme
-
-
Constructor Summary
Constructors Constructor Description KerberosScheme()Deprecated.KerberosScheme(KerberosConfig config, DnsResolver dnsResolver)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected byte[]generateToken(byte[] input, java.lang.String serviceName, java.lang.String authServer)Deprecated.java.lang.StringgetName()Deprecated.Returns textual designation of the given authentication scheme.booleanisConnectionBased()Deprecated.Determines if the authentication scheme is expected to provide an authorization response on a per connection basis instead of the standard per request basis-
Methods inherited from class org.apache.hc.client5.http.impl.auth.GGSSchemeBase
createGSSContext, generateAuthResponse, generateGSSToken, getManager, getPrincipal, getRealm, isChallengeComplete, isResponseReady, processChallenge, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.hc.client5.http.auth.AuthScheme
isChallengeExpected, processChallenge
-
-
-
-
Constructor Detail
-
KerberosScheme
public KerberosScheme(KerberosConfig config, DnsResolver dnsResolver)
Deprecated.- Since:
- 5.0
-
KerberosScheme
public KerberosScheme()
Deprecated.
-
-
Method Detail
-
getName
public java.lang.String 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, java.lang.String serviceName, java.lang.String authServer) throws org.ietf.jgss.GSSExceptionDeprecated.- Specified by:
generateTokenin classGGSSchemeBase- Throws:
org.ietf.jgss.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.
-
-