Package | Description |
---|---|
org.apache.http.auth |
Client HTTP authentication APIs.
|
org.apache.http.client |
Client HTTP communication APIs.
|
org.apache.http.client.fluent |
Simple facade APIs for HttpClient based on the concept of
a fluent interface.
|
org.apache.http.impl.client |
Default HTTP client implementation.
|
Modifier and Type | Field and Description |
---|---|
static AuthScope |
AuthScope.ANY
Default scope matching any host, port, realm and authentication scheme.
|
private AuthScope |
AuthState.authScope
Actual authentication scope
|
Modifier and Type | Method and Description |
---|---|
AuthScope |
AuthState.getAuthScope()
Deprecated.
(4.2) do not use.
|
Modifier and Type | Method and Description |
---|---|
int |
AuthScope.match(AuthScope that)
Tests if the authentication scopes match.
|
void |
AuthState.setAuthScope(AuthScope authScope)
Deprecated.
(4.2) do not use.
|
Constructor and Description |
---|
AuthScope(AuthScope authscope)
Creates a copy of the given credentials scope.
|
Modifier and Type | Method and Description |
---|---|
Credentials |
CredentialsProvider.getCredentials(AuthScope authscope)
Get the
credentials for the given authentication scope. |
void |
CredentialsProvider.setCredentials(AuthScope authscope,
Credentials credentials)
Sets the
credentials for the given authentication
scope. |
Modifier and Type | Method and Description |
---|---|
Executor |
Executor.auth(AuthScope authScope,
Credentials creds) |
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.ConcurrentHashMap<AuthScope,Credentials> |
BasicCredentialsProvider.credMap |
Modifier and Type | Method and Description |
---|---|
Credentials |
BasicCredentialsProvider.getCredentials(AuthScope authscope) |
Credentials |
SystemDefaultCredentialsProvider.getCredentials(AuthScope authscope) |
private static java.net.PasswordAuthentication |
SystemDefaultCredentialsProvider.getSystemCreds(AuthScope authscope,
java.net.Authenticator.RequestorType requestorType) |
private static Credentials |
BasicCredentialsProvider.matchCredentials(java.util.Map<AuthScope,Credentials> map,
AuthScope authscope)
Find matching
credentials for the given authentication scope. |
void |
BasicCredentialsProvider.setCredentials(AuthScope authscope,
Credentials credentials) |
void |
SystemDefaultCredentialsProvider.setCredentials(AuthScope authscope,
Credentials credentials) |
Modifier and Type | Method and Description |
---|---|
private static Credentials |
BasicCredentialsProvider.matchCredentials(java.util.Map<AuthScope,Credentials> map,
AuthScope authscope)
Find matching
credentials for the given authentication scope. |