| Package | Description |
|---|---|
| org.apache.http.auth |
Client HTTP authentication APIs.
|
| org.apache.http.client |
Client HTTP communication APIs.
|
| org.apache.http.impl.client |
Default HTTP client implementation.
|
| Modifier and Type | Field | Description |
|---|---|---|
static AuthScope |
AuthScope.ANY |
Default scope matching any host, port, realm and authentication scheme.
|
| Modifier and Type | Method | Description |
|---|---|---|
AuthScope |
AuthState.getAuthScope() |
Deprecated.
(4.2) do not use.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
AuthScope.match(AuthScope that) |
Tests if the authentication scopes match.
|
void |
AuthState.setAuthScope(AuthScope authScope) |
Deprecated.
(4.2) do not use.
|
| Constructor | Description |
|---|---|
AuthScope(AuthScope authscope) |
Creates a copy of the given credentials scope.
|
| Modifier and Type | Method | 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 | Description |
|---|---|---|
Credentials |
BasicCredentialsProvider.getCredentials(AuthScope authscope) |
|
Credentials |
SystemDefaultCredentialsProvider.getCredentials(AuthScope authscope) |
|
void |
BasicCredentialsProvider.setCredentials(AuthScope authscope,
Credentials credentials) |
|
void |
SystemDefaultCredentialsProvider.setCredentials(AuthScope authscope,
Credentials credentials) |