Package | Description |
---|---|
org.apache.http.auth |
The API for client-side HTTP authentication against a server.
|
org.apache.http.client |
The API for client-side HTTP communication.
|
org.apache.http.impl.auth |
Default implementations for interfaces in
org.apache.http.auth . |
org.apache.http.impl.client |
Default implementations for interfaces in
org.apache.http.client . |
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 |
AuthState.getAuthScheme()
Returns actual
AuthScheme . |
AuthScheme |
AuthOption.getAuthScheme() |
AuthScheme |
AuthSchemeRegistry.getAuthScheme(String name,
org.apache.http.params.HttpParams params)
Gets the
authentication scheme with the given name. |
AuthScheme |
AuthSchemeFactory.newInstance(org.apache.http.params.HttpParams params)
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 |
SPNegoSchemeFactory.newInstance(org.apache.http.params.HttpParams params) |
AuthScheme |
DigestSchemeFactory.newInstance(org.apache.http.params.HttpParams params) |
AuthScheme |
NegotiateSchemeFactory.newInstance(org.apache.http.params.HttpParams params)
Deprecated.
|
AuthScheme |
BasicSchemeFactory.newInstance(org.apache.http.params.HttpParams params) |
AuthScheme |
NTLMSchemeFactory.newInstance(org.apache.http.params.HttpParams params) |
AuthScheme |
KerberosSchemeFactory.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-2013 The Apache Software Foundation. All Rights Reserved.