public abstract class CachedAuthenticator extends Authenticator
| Modifier and Type | Class | Description |
|---|---|---|
static class |
CachedAuthenticator.CachedAuthentication |
Authentication data to remember and reuse.
|
Authenticator.RequestorType| Constructor | Description |
|---|---|
CachedAuthenticator() |
| Modifier and Type | Method | 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.
|
getDefault, getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthenticationInstance, 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 © 2018. All rights reserved.