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 | Class and Description |
---|---|
class |
NTCredentials
Credentials implementation for Microsoft Windows platforms that includes
Windows specific attributes such as name of the domain the user belongs to. |
class |
UsernamePasswordCredentials
Simple
Credentials implementation based on a user name / password
pair. |
Modifier and Type | Method and Description |
---|---|
Credentials |
AuthState.getCredentials()
Returns user
Credentials selected for authentication if available |
Modifier and Type | Method and Description |
---|---|
org.apache.http.Header |
AuthScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request)
|
org.apache.http.Header |
ContextAwareAuthScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
Produces an authorization string for the given set of
Credentials . |
void |
AuthState.setCredentials(Credentials credentials)
Sets user
Credentials to be used for authentication |
Modifier and Type | Method and Description |
---|---|
Credentials |
CredentialsProvider.getCredentials(AuthScope authscope)
Get the
credentials for the given authentication scope. |
Modifier and Type | Method and Description |
---|---|
void |
CredentialsProvider.setCredentials(AuthScope authscope,
Credentials credentials)
Sets the
credentials for the given authentication
scope. |
Modifier and Type | Method and Description |
---|---|
org.apache.http.Header |
BasicScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request)
Produces basic authorization header for the given set of
Credentials . |
org.apache.http.Header |
DigestScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request)
Produces a digest authorization string for the given set of
Credentials , method name and URI. |
org.apache.http.Header |
NegotiateScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request)
Deprecated.
|
org.apache.http.Header |
NTLMScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request) |
org.apache.http.Header |
AuthSchemeBase.authenticate(Credentials credentials,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context) |
org.apache.http.Header |
NegotiateScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
Produces Negotiate authorization Header based on token created by
processChallenge.
|
static org.apache.http.Header |
BasicScheme.authenticate(Credentials credentials,
String charset,
boolean proxy)
Returns a basic Authorization header value for the given
Credentials and charset. |
Modifier and Type | Method and Description |
---|---|
Credentials |
BasicCredentialsProvider.getCredentials(AuthScope authscope) |
Modifier and Type | Method and Description |
---|---|
void |
BasicCredentialsProvider.setCredentials(AuthScope authscope,
Credentials credentials) |
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.