| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | DefaultAuthenticator.
Represents authorization information needed by
|
| private static class | |
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private static int | |
| private static DefaultAuthenticator | |
| private static final Logger | |
| private String | |
| private String | |
| private static Authenticator |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static synchronized DefaultAuthenticator | |
| pack-priv static Authenticator | |
| protected PasswordAuthentication | getPasswordAuthentication()
Overrides java. Called when password authorization is needed. |
| private DefaultAuthenticator. | |
| public static synchronized void | |
| public void | |
| public void | setProxyAuth(String
Proxy authorization string proxyAuth)Proxy authorization string in form of username:password. |
| authInfo | back to summary |
|---|---|
| private final List<DefaultAuthenticator. | |
| counter | back to summary |
|---|---|
| private static int counter | |
| instance | back to summary |
|---|---|
| private static DefaultAuthenticator instance | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| proxyPasswd | back to summary |
|---|---|
| private String proxyPasswd | |
| proxyUser | back to summary |
|---|---|
| private String proxyUser | |
| systemAuthenticator | back to summary |
|---|---|
| private static Authenticator systemAuthenticator | |
| DefaultAuthenticator | back to summary |
|---|---|
| pack-priv DefaultAuthenticator() | |
| getAuthenticator | back to summary |
|---|---|
| public static synchronized DefaultAuthenticator getAuthenticator() | |
| getCurrentAuthenticator | back to summary |
|---|---|
| pack-priv static Authenticator getCurrentAuthenticator() | |
| getPasswordAuthentication | back to summary |
|---|---|
| protected PasswordAuthentication getPasswordAuthentication() Overrides java. Doc from java. Called when password authorization is needed. Subclasses should override the default implementation, which returns null.
| |
| parseLine | back to summary |
|---|---|
| private DefaultAuthenticator. | |
| reset | back to summary |
|---|---|
| public static synchronized void reset() Hides java. | |
| setAuth | back to summary |
|---|---|
| public void setAuth(File f, DefaultAuthenticator. | |
| setProxyAuth | back to summary |
|---|---|
| public void setProxyAuth(String proxyAuth) Proxy authorization string in form of username:password.
| |
DefaultAuthenticator to authenticate access to remote resources.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final Pattern | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public boolean | matchingHost(URL requestingURL)
Returns if the requesting host and port are associated with this
|
| password | back to summary |
|---|---|
| private final String password | |
| urlPattern | back to summary |
|---|---|
| private final Pattern urlPattern | |
| user | back to summary |
|---|---|
| private final String user | |
| AuthInfo | back to summary |
|---|---|
| public AuthInfo(URL url, String user, String password) | |
| getPassword | back to summary |
|---|---|
| public String getPassword() | |
| getUser | back to summary |
|---|---|
| public String getUser() | |
| matchingHost | back to summary |
|---|---|
| public boolean matchingHost(URL requestingURL) Returns if the requesting host and port are associated with this
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private String | |
| public void | onError(Exception e, Locator loc)
Implements com.
|
| public void | onParsingError(String line, Locator loc)
Implements com.
|
| DefaultRImpl | back to summary |
|---|---|
| private DefaultRImpl() | |
| getLocationString | back to summary |
|---|---|
| private String getLocationString(Locator l) | |
| onError | back to summary |
|---|---|
| public void onError(Exception e, Locator loc) Implements com.
| |
| onParsingError | back to summary |
|---|---|
| public void onParsingError(String line, Locator loc) Implements com.
| |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void |
| onError | back to summary |
|---|---|
| public void onError(Exception e, Locator loc) | |
| onParsingError | back to summary |
|---|---|
| public void onParsingError(String line, Locator loc) | |