| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.impl.client.SystemDefaultCredentialsProvider
@Contract(threading=SAFE) public class SystemDefaultCredentialsProvider
Implementation of CredentialsProvider backed by standard
 JRE Authenticator.
| Constructor Summary | |
|---|---|
| SystemDefaultCredentialsProvider()Default constructor. | |
| Method Summary | |
|---|---|
|  void | clear()Clears all credentials. | 
|  Credentials | getCredentials(AuthScope authscope)Get the credentialsfor the given authentication scope. | 
|  void | setCredentials(AuthScope authscope,
               Credentials credentials)Sets the credentialsfor the given authentication
 scope. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SystemDefaultCredentialsProvider()
| Method Detail | 
|---|
public void setCredentials(AuthScope authscope,
                           Credentials credentials)
CredentialsProvidercredentials for the given authentication
 scope. Any previous credentials for the given scope will be overwritten.
setCredentials in interface CredentialsProviderauthscope - the authentication scopecredentials - the authentication credentials
 for the given scope.CredentialsProvider.getCredentials(AuthScope)public Credentials getCredentials(AuthScope authscope)
CredentialsProvidercredentials for the given authentication scope.
getCredentials in interface CredentialsProviderauthscope - the authentication scope
CredentialsProvider.setCredentials(AuthScope, Credentials)public void clear()
CredentialsProvider
clear in interface CredentialsProvider| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||