Package | Description |
---|---|
org.apache.commons.httpclient |
Classes and interfaces supporting the client side of the HTTP protocol.
|
org.apache.commons.httpclient.auth |
Provides implementation of various authentication schemes as well as
utility classes that can be used to authenticate HTTP requests.
|
Modifier and Type | Method and Description |
---|---|
Credentials |
HttpState.getCredentials(AuthScope authscope)
Get the
credentials for the given authentication scope. |
Credentials |
HttpState.getProxyCredentials(AuthScope authscope)
Get the
proxy credentials for the given authentication scope. |
void |
HttpState.setCredentials(AuthScope authscope,
Credentials credentials)
Sets the
credentials for the given authentication
scope. |
void |
HttpState.setProxyCredentials(AuthScope authscope,
Credentials credentials)
Sets the
proxy credentials for the given authentication
realm. |
Modifier and Type | Class and Description |
---|---|
class |
HttpAuthRealm
Deprecated.
no longer used
|
Modifier and Type | Field and Description |
---|---|
static AuthScope |
AuthScope.ANY
Default scope matching any host, port, realm and authentication scheme.
|
Modifier and Type | Method and Description |
---|---|
int |
AuthScope.match(AuthScope that)
Tests if the authentication scopes match.
|
Constructor and Description |
---|
AuthScope(AuthScope authscope)
Creates a copy of the given credentials scope.
|
Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.