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