Package com.attivio.transport
Class AttivioDefaultCredentialsProvider
- java.lang.Object
-
- com.attivio.transport.AttivioDefaultCredentialsProvider
-
- All Implemented Interfaces:
org.apache.http.client.CredentialsProvider
public class AttivioDefaultCredentialsProvider extends java.lang.Object implements org.apache.http.client.CredentialsProviderDefault credentials provider to pass to setCredentialsProvider(cp) for authentication.
-
-
Constructor Summary
Constructors Constructor Description AttivioDefaultCredentialsProvider(java.lang.String username, java.lang.String password)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()org.apache.http.auth.CredentialsgetCredentials(org.apache.http.auth.AuthScope authScope)voidsetCredentials(org.apache.http.auth.AuthScope authscope, org.apache.http.auth.Credentials credentials)
-
-
-
Method Detail
-
getCredentials
public org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope authScope)
- Specified by:
getCredentialsin interfaceorg.apache.http.client.CredentialsProvider
-
setCredentials
public void setCredentials(org.apache.http.auth.AuthScope authscope, org.apache.http.auth.Credentials credentials)- Specified by:
setCredentialsin interfaceorg.apache.http.client.CredentialsProvider
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.http.client.CredentialsProvider
-
-