|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Credentials | |
---|---|
org.apache.http.auth | The API for client-side HTTP authentication against a server, commonly referred to as HttpAuth. |
org.apache.http.client | The API for client-side HTTP communication and entry point to the HttpClient module. |
org.apache.http.impl.auth |
Uses of Credentials in org.apache.http.auth |
---|
Classes in org.apache.http.auth that implement Credentials | |
---|---|
class |
UsernamePasswordCredentials
Username and password Credentials . |
Methods in org.apache.http.auth with parameters of type Credentials | |
---|---|
org.apache.http.Header |
AuthScheme.authenticate(Credentials credentials,
org.apache.http.HttpRequest request)
Produces an authorization string for the given set of Credentials . |
Uses of Credentials in org.apache.http.client |
---|
Methods in org.apache.http.client that return Credentials | |
---|---|
Credentials |
AuthState.getCredentials()
Returns user Credentials selected for authentication if available |
Credentials |
HttpState.getCredentials(AuthScope authscope)
Get the credentials for the given authentication scope. |
Methods in org.apache.http.client with parameters of type Credentials | |
---|---|
void |
HttpState.setCredentials(AuthScope authscope,
Credentials credentials)
Sets the credentials for the given authentication
scope. |
void |
AuthState.setCredentials(Credentials credentials)
Sets user Credentials to be used for authentication |
Uses of Credentials in org.apache.http.impl.auth |
---|
Methods in org.apache.http.impl.auth with parameters of type Credentials | |
---|---|
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. |
static org.apache.http.Header |
BasicScheme.authenticate(Credentials credentials,
java.lang.String charset,
boolean proxy)
Returns a basic Authorization header value for the given Credentials and charset. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |