public class HTTPAuthProvider extends Object implements Serializable, org.apache.commons.httpclient.auth.CredentialsProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
PROXY_AUTH_RESP |
static String |
WWW_AUTH_RESP |
| Constructor and Description |
|---|
HTTPAuthProvider(String url,
HTTPMethod method) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.httpclient.Credentials |
getCredentials(org.apache.commons.httpclient.auth.AuthScheme authscheme,
String host,
int port,
boolean isproxy) |
String |
toString() |
public static final String WWW_AUTH_RESP
public static final String PROXY_AUTH_RESP
public HTTPAuthProvider(String url, HTTPMethod method)
public org.apache.commons.httpclient.Credentials getCredentials(org.apache.commons.httpclient.auth.AuthScheme authscheme,
String host,
int port,
boolean isproxy)
throws org.apache.commons.httpclient.auth.CredentialsNotAvailableException
getCredentials in interface org.apache.commons.httpclient.auth.CredentialsProviderorg.apache.commons.httpclient.auth.CredentialsNotAvailableExceptionCopyright © 1999-2013 UCAR/Unidata. All Rights Reserved.