public class UrlAuthenticatorDialog extends Authenticator implements org.apache.commons.httpclient.auth.CredentialsProvider
Authenticator.RequestorType| Constructor and Description |
|---|
UrlAuthenticatorDialog(JFrame parent)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
org.apache.commons.httpclient.Credentials |
getCredentials(org.apache.commons.httpclient.auth.AuthScheme scheme,
String host,
int port,
boolean proxy) |
protected PasswordAuthentication |
getPasswordAuthentication() |
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefaultpublic UrlAuthenticatorDialog(JFrame parent)
parent - JFramepublic void clear()
protected PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication in class Authenticatorpublic org.apache.commons.httpclient.Credentials getCredentials(org.apache.commons.httpclient.auth.AuthScheme scheme,
String host,
int port,
boolean proxy)
throws org.apache.commons.httpclient.auth.CredentialsNotAvailableException
getCredentials in interface org.apache.commons.httpclient.auth.CredentialsProviderorg.apache.commons.httpclient.auth.CredentialsNotAvailableExceptionCopyright © 1999–2014 UCAR/Unidata. All rights reserved.