public final class MfCredentialsProvider
extends java.lang.Object
implements org.apache.http.client.CredentialsProvider
MfClientHttpRequestFactoryImpl.CURRENT_CONFIGURATION.
If authentication is not found in configuration then it will fall back to SystemDefaultCredentialsProvider
MfClientHttpRequestFactoryImpl.Request will set the correct configuration before the request is
executed so that correct proxies will be set.| Constructor and Description |
|---|
MfCredentialsProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
org.apache.http.auth.Credentials |
getCredentials(org.apache.http.auth.AuthScope authscope) |
void |
setCredentials(org.apache.http.auth.AuthScope authscope,
org.apache.http.auth.Credentials credentials) |
public void setCredentials(org.apache.http.auth.AuthScope authscope,
org.apache.http.auth.Credentials credentials)
setCredentials in interface org.apache.http.client.CredentialsProviderpublic org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope authscope)
getCredentials in interface org.apache.http.client.CredentialsProviderpublic void clear()
clear in interface org.apache.http.client.CredentialsProvider