Package | Description |
---|---|
org.apache.http.auth |
Client HTTP authentication APIs.
|
org.apache.http.client |
Client HTTP communication APIs.
|
org.apache.http.impl.auth |
Default implementations of standard and common HTTP authentication
schemes.
|
org.apache.http.impl.client |
Default HTTP client implementation.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ContextAwareAuthScheme
This interface represents an extended authentication scheme
that requires access to
HttpContext in order to
generate an authorization string. |
Modifier and Type | Method and Description |
---|---|
AuthScheme |
AuthSchemeProvider.create(org.apache.http.protocol.HttpContext context)
Creates an instance of
AuthScheme . |
AuthScheme |
AuthState.getAuthScheme()
Returns actual
AuthScheme . |
AuthScheme |
AuthOption.getAuthScheme() |
AuthScheme |
AuthSchemeRegistry.getAuthScheme(String name,
org.apache.http.params.HttpParams params)
Deprecated.
Gets the
authentication scheme with the given name. |
AuthScheme |
AuthSchemeFactory.newInstance(org.apache.http.params.HttpParams params)
Deprecated.
Creates an instance of
AuthScheme using given HTTP parameters. |
Modifier and Type | Method and Description |
---|---|
void |
AuthState.setAuthScheme(AuthScheme authScheme)
Deprecated.
|
void |
AuthState.update(AuthScheme authScheme,
Credentials credentials)
Updates the auth state with
AuthScheme and Credentials . |
Constructor and Description |
---|
AuthOption(AuthScheme authScheme,
Credentials creds) |
Modifier and Type | Method and Description |
---|---|
AuthScheme |
AuthCache.get(org.apache.http.HttpHost host) |
AuthScheme |
AuthenticationHandler.selectScheme(Map<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 generates
AuthScheme instance capable of
processing that challenge. |
Modifier and Type | Method and 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) |
Modifier and Type | Class and 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) use
SPNegoScheme or KerberosScheme . |
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.
|
Modifier and Type | Method and Description |
---|---|
AuthScheme |
BasicSchemeFactory.create(org.apache.http.protocol.HttpContext context) |
AuthScheme |
KerberosSchemeFactory.create(org.apache.http.protocol.HttpContext context) |
AuthScheme |
SPNegoSchemeFactory.create(org.apache.http.protocol.HttpContext context) |
AuthScheme |
DigestSchemeFactory.create(org.apache.http.protocol.HttpContext context) |
AuthScheme |
NTLMSchemeFactory.create(org.apache.http.protocol.HttpContext context) |
AuthScheme |
NegotiateSchemeFactory.newInstance(org.apache.http.params.HttpParams params)
Deprecated.
|
AuthScheme |
BasicSchemeFactory.newInstance(org.apache.http.params.HttpParams params) |
AuthScheme |
KerberosSchemeFactory.newInstance(org.apache.http.params.HttpParams params) |
AuthScheme |
SPNegoSchemeFactory.newInstance(org.apache.http.params.HttpParams params) |
AuthScheme |
DigestSchemeFactory.newInstance(org.apache.http.params.HttpParams params) |
AuthScheme |
NTLMSchemeFactory.newInstance(org.apache.http.params.HttpParams params) |
Modifier and Type | Method and Description |
---|---|
AuthScheme |
BasicAuthCache.get(org.apache.http.HttpHost host) |
AuthScheme |
AbstractAuthenticationHandler.selectScheme(Map<String,org.apache.http.Header> challenges,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
BasicAuthCache.put(org.apache.http.HttpHost host,
AuthScheme authScheme) |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.