public class HTTPBasicProvider extends Object implements org.apache.http.client.CredentialsProvider, org.apache.http.auth.Credentials, Serializable
| Constructor and Description |
|---|
HTTPBasicProvider(String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
org.apache.http.auth.Credentials |
getCredentials(org.apache.http.auth.AuthScope scope) |
String |
getPassword() |
Principal |
getUserPrincipal() |
void |
setCredentials(org.apache.http.auth.AuthScope authscope,
org.apache.http.auth.Credentials credentials) |
public org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope scope)
getCredentials in interface org.apache.http.client.CredentialsProviderpublic void setCredentials(org.apache.http.auth.AuthScope authscope,
org.apache.http.auth.Credentials credentials)
setCredentials in interface org.apache.http.client.CredentialsProviderpublic void clear()
clear in interface org.apache.http.client.CredentialsProviderpublic Principal getUserPrincipal()
getUserPrincipal in interface org.apache.http.auth.Credentialspublic String getPassword()
getPassword in interface org.apache.http.auth.CredentialsCopyright © 1999–2015 UCAR/Unidata. All rights reserved.