|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.mail.Authenticator
public abstract class Authenticator
Callback object that can be used to obtain password information during authentication. This normally occurs by prompting the user for a password or retrieving it from secure storage.
Constructor Summary | |
---|---|
Authenticator()
|
Method Summary | |
---|---|
protected 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 String |
getRequestingPrompt()
Returns the user prompt string for the request. |
protected String |
getRequestingProtocol()
Returns the protocol for the request. |
protected InetAddress |
getRequestingSite()
Returns the IP address of the request host, or null if not available. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Authenticator()
Method Detail |
---|
protected final String getDefaultUserName()
protected PasswordAuthentication getPasswordAuthentication()
protected final int getRequestingPort()
protected final String getRequestingPrompt()
protected final String getRequestingProtocol()
protected final InetAddress getRequestingSite()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |