org.apache.http.impl.client
Class SystemDefaultCredentialsProvider

java.lang.Object
  extended by org.apache.http.impl.client.SystemDefaultCredentialsProvider
All Implemented Interfaces:
org.apache.http.client.CredentialsProvider

@ThreadSafe
public class SystemDefaultCredentialsProvider
extends java.lang.Object
implements org.apache.http.client.CredentialsProvider

Implementation of CredentialsProvider backed by standard JRE Authenticator.

Since:
4.3

Constructor Summary
SystemDefaultCredentialsProvider()
          Default constructor.
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemDefaultCredentialsProvider

public SystemDefaultCredentialsProvider()
Default constructor.

Method Detail

setCredentials

public void setCredentials(org.apache.http.auth.AuthScope authscope,
                           org.apache.http.auth.Credentials credentials)
Specified by:
setCredentials in interface org.apache.http.client.CredentialsProvider

getCredentials

public org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope authscope)
Specified by:
getCredentials in interface org.apache.http.client.CredentialsProvider

clear

public void clear()
Specified by:
clear in interface org.apache.http.client.CredentialsProvider