Uses of Interface
org.apache.http.auth.Credentials
| Package | Description |
|---|---|
| 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 | |
| org.apache.http.impl.client |
-
Uses of Credentials in org.apache.http.auth
Classes in org.apache.http.auth that implement Credentials Modifier and Type Class Description classNTCredentialsCredentialsspecific to the Windows platform.classUsernamePasswordCredentialsUsername and passwordCredentialsMethods in org.apache.http.auth that return Credentials Modifier and Type Method Description CredentialsAuthState. getCredentials()Returns userCredentialsselected for authentication if availableMethods in org.apache.http.auth with parameters of type Credentials Modifier and Type Method Description HeaderAuthScheme. authenticate(Credentials credentials, HttpRequest request)Produces an authorization string for the given set ofCredentials.voidAuthState. setCredentials(Credentials credentials)Sets userCredentialsto be used for authentication -
Uses of Credentials in org.apache.http.client
Methods in org.apache.http.client that return Credentials Modifier and Type Method Description CredentialsCredentialsProvider. getCredentials(AuthScope authscope)Get thecredentialsfor the given authentication scope.Methods in org.apache.http.client with parameters of type Credentials Modifier and Type Method Description voidCredentialsProvider. setCredentials(AuthScope authscope, Credentials credentials)Sets thecredentialsfor the given authentication scope. -
Uses of Credentials in org.apache.http.impl.auth
Methods in org.apache.http.impl.auth with parameters of type Credentials Modifier and Type Method Description static HeaderBasicScheme. authenticate(Credentials credentials, String charset, boolean proxy)Returns a basic Authorization header value for the givenCredentialsand charset.HeaderBasicScheme. authenticate(Credentials credentials, HttpRequest request)Produces basic authorization header for the given set ofCredentials.HeaderDigestScheme. authenticate(Credentials credentials, HttpRequest request)Produces a digest authorization string for the given set ofCredentials, method name and URI.HeaderNTLMScheme. authenticate(Credentials credentials, HttpRequest request) -
Uses of Credentials in org.apache.http.impl.client
Methods in org.apache.http.impl.client that return Credentials Modifier and Type Method Description CredentialsBasicCredentialsProvider. getCredentials(AuthScope authscope)Get thecredentialsfor the given authentication scope.Methods in org.apache.http.impl.client with parameters of type Credentials Modifier and Type Method Description voidBasicCredentialsProvider. setCredentials(AuthScope authscope, Credentials credentials)Sets thecredentialsfor the given authentication scope.