|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Credentials | |
|---|---|
| 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. |
| Uses of Credentials in org.apache.commons.httpclient |
|---|
| Classes in org.apache.commons.httpclient that implement Credentials | |
|---|---|
class |
NTCredentials
Credentials for use with the NTLM authentication scheme which requires additional
information. |
class |
UsernamePasswordCredentials
Username and password Credentials. |
| Methods in org.apache.commons.httpclient that return Credentials | |
|---|---|
Credentials |
HttpState.getCredentials(AuthScope authscope)
Get the credentials for the given authentication scope. |
Credentials |
HttpState.getCredentials(String realm,
String host)
Deprecated. use #getCredentials(AuthScope) |
Credentials |
HttpState.getProxyCredentials(AuthScope authscope)
Get the proxy credentials for the given authentication scope. |
Credentials |
HttpState.getProxyCredentials(String realm,
String proxyHost)
Deprecated. use #getProxyCredentials(AuthScope) |
| Methods in org.apache.commons.httpclient with parameters of type Credentials | |
|---|---|
void |
HttpState.setCredentials(AuthScope authscope,
Credentials credentials)
Sets the credentials for the given authentication
scope. |
void |
HttpState.setCredentials(String realm,
String host,
Credentials credentials)
Deprecated. use #setCredentials(AuthScope, Credentials) |
void |
HttpState.setProxyCredentials(AuthScope authscope,
Credentials credentials)
Sets the proxy credentials for the given authentication
realm. |
void |
HttpState.setProxyCredentials(String realm,
String proxyHost,
Credentials credentials)
Deprecated. use #setProxyCredentials(AuthScope, Credentials) |
| Uses of Credentials in org.apache.commons.httpclient.auth |
|---|
| Methods in org.apache.commons.httpclient.auth that return Credentials | |
|---|---|
Credentials |
CredentialsProvider.getCredentials(AuthScheme scheme,
String host,
int port,
boolean proxy)
Requests additional authentication credentials. |
| Methods in org.apache.commons.httpclient.auth with parameters of type Credentials | |
|---|---|
String |
NTLMScheme.authenticate(Credentials credentials,
HttpMethod method)
Produces NTLM authorization string for the given set of Credentials. |
String |
DigestScheme.authenticate(Credentials credentials,
HttpMethod method)
Produces a digest authorization string for the given set of Credentials, method name and URI. |
String |
BasicScheme.authenticate(Credentials credentials,
HttpMethod method)
Produces basic authorization string for the given set of Credentials. |
String |
AuthScheme.authenticate(Credentials credentials,
HttpMethod method)
Produces an authorization string for the given set of Credentials. |
String |
NTLMScheme.authenticate(Credentials credentials,
String method,
String uri)
Deprecated. Use NTLMScheme.authenticate(Credentials, HttpMethod) |
String |
DigestScheme.authenticate(Credentials credentials,
String method,
String uri)
Deprecated. Use DigestScheme.authenticate(Credentials, HttpMethod) |
String |
BasicScheme.authenticate(Credentials credentials,
String method,
String uri)
Deprecated. Use BasicScheme.authenticate(Credentials, HttpMethod) |
String |
AuthScheme.authenticate(Credentials credentials,
String method,
String uri)
Deprecated. Use AuthScheme.authenticate(Credentials, HttpMethod)
Produces an authorization string for the given set of Credentials,
method name and URI using the given authentication scheme in response to
the actual authorization challenge. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||