public abstract class CachedAuthenticator extends Authenticator
| Modifier and Type | Class and Description |
|---|---|
static class |
CachedAuthenticator.CachedAuthentication
Authentication data to remember and reuse.
|
Authenticator.RequestorType| Constructor and Description |
|---|
CachedAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
add(CachedAuthenticator.CachedAuthentication ca)
Add a cached authentication for future use.
|
protected PasswordAuthentication |
getPasswordAuthentication() |
protected abstract PasswordAuthentication |
promptPasswordAuthentication()
Prompt for and request authentication from the end-user.
|
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefaultpublic static void add(CachedAuthenticator.CachedAuthentication ca)
ca - the information we should remember.protected final PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication in class Authenticatorprotected abstract PasswordAuthentication promptPasswordAuthentication()
Copyright © 2013. All rights reserved.