public abstract class Authenticator
extends java.lang.Object
| Constructor and Description |
|---|
Authenticator () |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getDefaultUserName ()
Returns the default user name.
|
protected PasswordAuthentication |
getPasswordAuthentication ()
Called when password authentication is needed.
|
protected int |
getRequestingPort ()
Returns the port used in the request.
|
protected java.lang.String |
getRequestingPrompt ()
Returns the user prompt string for the request.
|
protected java.lang.String |
getRequestingProtocol ()
Returns the protocol for the request.
|
protected java.net.InetAddress |
getRequestingSite ()
Returns the IP address of the request host,
or null if not available.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic Authenticator()
protected final java.lang.String getDefaultUserName()
protected PasswordAuthentication getPasswordAuthentication()
protected final int getRequestingPort()
protected final java.lang.String getRequestingPrompt()
protected final java.lang.String getRequestingProtocol()
protected final java.net.InetAddress getRequestingSite()