Uses of Interface
org.apache.http.auth.AuthScheme
-
Packages that use AuthScheme Package Description org.apache.http.auth Client HTTP authentication APIs.org.apache.http.client Client HTTP communication APIs.org.apache.http.client.protocol Client specific HTTP protocol handlers.org.apache.http.impl.auth Default implementations of standard and common HTTP authentication schemes.org.apache.http.impl.client Default HTTP client implementation. -
-
Uses of AuthScheme in org.apache.http.auth
Subinterfaces of AuthScheme in org.apache.http.auth Modifier and Type Interface Description interface
ContextAwareAuthScheme
This interface represents an extended authentication scheme that requires access toHttpContext
in order to generate an authorization string.Fields in org.apache.http.auth declared as AuthScheme Modifier and Type Field Description private AuthScheme
AuthOption. authScheme
private AuthScheme
AuthState. authScheme
Actual authentication schemeMethods in org.apache.http.auth that return AuthScheme Modifier and Type Method Description AuthScheme
AuthSchemeProvider. create(org.apache.http.protocol.HttpContext context)
Creates an instance ofAuthScheme
.AuthScheme
AuthOption. getAuthScheme()
AuthScheme
AuthSchemeRegistry. getAuthScheme(java.lang.String name, org.apache.http.params.HttpParams params)
Deprecated.Gets theauthentication scheme
with the given name.AuthScheme
AuthState. getAuthScheme()
Returns actualAuthScheme
.AuthScheme
AuthSchemeFactory. newInstance(org.apache.http.params.HttpParams params)
Deprecated.Creates an instance ofAuthScheme
using given HTTP parameters.Methods in org.apache.http.auth with parameters of type AuthScheme Modifier and Type Method Description void
AuthState. setAuthScheme(AuthScheme authScheme)
Deprecated.void
AuthState. update(AuthScheme authScheme, Credentials credentials)
Updates the auth state withAuthScheme
andCredentials
.Constructors in org.apache.http.auth with parameters of type AuthScheme Constructor Description AuthOption(AuthScheme authScheme, Credentials creds)
-
Uses of AuthScheme in org.apache.http.client
Methods in org.apache.http.client that return AuthScheme Modifier and Type Method Description AuthScheme
AuthCache. get(org.apache.http.HttpHost host)
AuthScheme
AuthenticationHandler. selectScheme(java.util.Map<java.lang.String,org.apache.http.Header> challenges, org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)
Deprecated.Selects one authentication challenge out of all available and creates and generatesAuthScheme
instance capable of processing that challenge.Methods in org.apache.http.client with parameters of type AuthScheme Modifier and Type Method Description void
AuthenticationStrategy. authFailed(org.apache.http.HttpHost authhost, AuthScheme authScheme, org.apache.http.protocol.HttpContext context)
Callback invoked in case of unsuccessful authentication.void
AuthenticationStrategy. authSucceeded(org.apache.http.HttpHost authhost, AuthScheme authScheme, org.apache.http.protocol.HttpContext context)
Callback invoked in case of successful authentication.void
AuthCache. put(org.apache.http.HttpHost host, AuthScheme authScheme)
-
Uses of AuthScheme in org.apache.http.client.protocol
Methods in org.apache.http.client.protocol with parameters of type AuthScheme Modifier and Type Method Description private org.apache.http.Header
RequestAuthenticationBase. authenticate(AuthScheme authScheme, Credentials creds, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
Deprecated.private void
ResponseAuthCache. cache(AuthCache authCache, org.apache.http.HttpHost host, AuthScheme authScheme)
Deprecated.private void
RequestAuthCache. doPreemptiveAuth(org.apache.http.HttpHost host, AuthScheme authScheme, AuthState authState, CredentialsProvider credsProvider)
private void
RequestAuthenticationBase. ensureAuthScheme(AuthScheme authScheme)
Deprecated.private void
ResponseAuthCache. uncache(AuthCache authCache, org.apache.http.HttpHost host, AuthScheme authScheme)
Deprecated. -
Uses of AuthScheme in org.apache.http.impl.auth
Classes in org.apache.http.impl.auth that implement AuthScheme Modifier and Type Class Description class
AuthSchemeBase
Abstract authentication scheme class that serves as a basis for all authentication schemes supported by HttpClient.class
BasicScheme
Basic authentication scheme as defined in RFC 2617.class
DigestScheme
Digest authentication scheme as defined in RFC 2617.class
GGSSchemeBase
class
KerberosScheme
KERBEROS authentication scheme.class
NegotiateScheme
Deprecated.(4.2) useSPNegoScheme
orKerberosScheme
.class
NTLMScheme
NTLM is a proprietary authentication scheme developed by Microsoft and optimized for Windows platforms.class
RFC2617Scheme
Abstract authentication scheme class that lays foundation for all RFC 2617 compliant authentication schemes and provides capabilities common to all authentication schemes defined in RFC 2617.class
SPNegoScheme
SPNEGO (Simple and Protected GSSAPI Negotiation Mechanism) authentication scheme.Methods in org.apache.http.impl.auth that return AuthScheme Modifier and Type Method Description AuthScheme
BasicSchemeFactory. create(org.apache.http.protocol.HttpContext context)
AuthScheme
DigestSchemeFactory. create(org.apache.http.protocol.HttpContext context)
AuthScheme
KerberosSchemeFactory. create(org.apache.http.protocol.HttpContext context)
AuthScheme
NTLMSchemeFactory. create(org.apache.http.protocol.HttpContext context)
AuthScheme
SPNegoSchemeFactory. create(org.apache.http.protocol.HttpContext context)
AuthScheme
BasicSchemeFactory. newInstance(org.apache.http.params.HttpParams params)
AuthScheme
DigestSchemeFactory. newInstance(org.apache.http.params.HttpParams params)
AuthScheme
KerberosSchemeFactory. newInstance(org.apache.http.params.HttpParams params)
AuthScheme
NegotiateSchemeFactory. newInstance(org.apache.http.params.HttpParams params)
Deprecated.AuthScheme
NTLMSchemeFactory. newInstance(org.apache.http.params.HttpParams params)
AuthScheme
SPNegoSchemeFactory. newInstance(org.apache.http.params.HttpParams params)
Methods in org.apache.http.impl.auth with parameters of type AuthScheme Modifier and Type Method Description private org.apache.http.Header
HttpAuthenticator. doAuth(AuthScheme authScheme, Credentials creds, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
private void
HttpAuthenticator. ensureAuthScheme(AuthScheme authScheme)
-
Uses of AuthScheme in org.apache.http.impl.client
Methods in org.apache.http.impl.client that return AuthScheme Modifier and Type Method Description AuthScheme
BasicAuthCache. get(org.apache.http.HttpHost host)
AuthScheme
AbstractAuthenticationHandler. selectScheme(java.util.Map<java.lang.String,org.apache.http.Header> challenges, org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)
Deprecated.Methods in org.apache.http.impl.client with parameters of type AuthScheme Modifier and Type Method Description void
AuthenticationStrategyAdaptor. authFailed(org.apache.http.HttpHost authhost, AuthScheme authScheme, org.apache.http.protocol.HttpContext context)
Deprecated.void
AuthenticationStrategyImpl. authFailed(org.apache.http.HttpHost authhost, AuthScheme authScheme, org.apache.http.protocol.HttpContext context)
void
AuthenticationStrategyAdaptor. authSucceeded(org.apache.http.HttpHost authhost, AuthScheme authScheme, org.apache.http.protocol.HttpContext context)
Deprecated.void
AuthenticationStrategyImpl. authSucceeded(org.apache.http.HttpHost authhost, AuthScheme authScheme, org.apache.http.protocol.HttpContext context)
private boolean
AuthenticationStrategyAdaptor. isCachable(AuthScheme authScheme)
Deprecated.protected boolean
AuthenticationStrategyImpl. isCachable(AuthScheme authScheme)
void
BasicAuthCache. put(org.apache.http.HttpHost host, AuthScheme authScheme)
-