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.CredentialsProvider
public void setCredentials(org.apache.http.auth.AuthScope authscope, org.apache.http.auth.Credentials credentials)
setCredentials
in interface org.apache.http.client.CredentialsProvider
public void clear()
clear
in interface org.apache.http.client.CredentialsProvider
public Principal getUserPrincipal()
getUserPrincipal
in interface org.apache.http.auth.Credentials
public String getPassword()
getPassword
in interface org.apache.http.auth.Credentials
Copyright © 1999–2013 UCAR/Unidata. All rights reserved.