public class SystemDefaultCredentialsProvider
extends java.lang.Object
implements org.apache.http.client.CredentialsProvider
CredentialsProvider
backed by standard
JRE Authenticator
.Constructor and Description |
---|
SystemDefaultCredentialsProvider()
Default constructor.
|
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 SystemDefaultCredentialsProvider()
public void setCredentials(org.apache.http.auth.AuthScope authscope, org.apache.http.auth.Credentials credentials)
setCredentials
in interface org.apache.http.client.CredentialsProvider
public org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope authscope)
getCredentials
in interface org.apache.http.client.CredentialsProvider
public void clear()
clear
in interface org.apache.http.client.CredentialsProvider