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(HttpContext context)
Creates an instance of
AuthScheme . |
AuthScheme |
AuthState.getAuthScheme()
Returns actual
AuthScheme . |
AuthScheme |
AuthOption.getAuthScheme() |
AuthScheme |
AuthSchemeRegistry.getAuthScheme(java.lang.String name,
HttpParams params)
Deprecated.
Gets the
authentication scheme with the given name. |
AuthScheme |
AuthSchemeFactory.newInstance(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(HttpHost host) |
AuthScheme |
AuthenticationHandler.selectScheme(java.util.Map<java.lang.String,Header> challenges,
HttpResponse response,
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(HttpHost authhost,
AuthScheme authScheme,
HttpContext context)
Callback invoked in case of unsuccessful authentication.
|
void |
AuthenticationStrategy.authSucceeded(HttpHost authhost,
AuthScheme authScheme,
HttpContext context)
Callback invoked in case of successful authentication.
|
void |
AuthCache.put(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(HttpContext context) |
AuthScheme |
KerberosSchemeFactory.create(HttpContext context) |
AuthScheme |
NTLMSchemeFactory.create(HttpContext context) |
AuthScheme |
SPNegoSchemeFactory.create(HttpContext context) |
AuthScheme |
DigestSchemeFactory.create(HttpContext context) |
AuthScheme |
NegotiateSchemeFactory.newInstance(HttpParams params)
Deprecated.
|
AuthScheme |
BasicSchemeFactory.newInstance(HttpParams params) |
AuthScheme |
KerberosSchemeFactory.newInstance(HttpParams params) |
AuthScheme |
NTLMSchemeFactory.newInstance(HttpParams params) |
AuthScheme |
SPNegoSchemeFactory.newInstance(HttpParams params) |
AuthScheme |
DigestSchemeFactory.newInstance(HttpParams params) |
Modifier and Type | Method and Description |
---|---|
AuthScheme |
BasicAuthCache.get(HttpHost host) |
AuthScheme |
AbstractAuthenticationHandler.selectScheme(java.util.Map<java.lang.String,Header> challenges,
HttpResponse response,
HttpContext context)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
AuthenticationStrategyAdaptor.authFailed(HttpHost authhost,
AuthScheme authScheme,
HttpContext context)
Deprecated.
|
void |
AuthenticationStrategyImpl.authFailed(HttpHost authhost,
AuthScheme authScheme,
HttpContext context) |
void |
AuthenticationStrategyAdaptor.authSucceeded(HttpHost authhost,
AuthScheme authScheme,
HttpContext context)
Deprecated.
|
void |
AuthenticationStrategyImpl.authSucceeded(HttpHost authhost,
AuthScheme authScheme,
HttpContext context) |
protected boolean |
AuthenticationStrategyImpl.isCachable(AuthScheme authScheme) |
void |
BasicAuthCache.put(HttpHost host,
AuthScheme authScheme) |