Package | Description |
---|---|
com.sun.mail.util.logging |
Contains JavaMail™ extensions for
the Java™ platform's core logging
facilities.
|
javax.mail |
The JavaMail™ API
provides classes that model a mail system.
|
Modifier and Type | Method and Description |
---|---|
protected PasswordAuthentication |
MailHandler.DefaultAuthenticator.getPasswordAuthentication() |
Modifier and Type | Field and Description |
---|---|
private java.util.Hashtable<URLName,PasswordAuthentication> |
Session.authTable |
Modifier and Type | Method and Description |
---|---|
protected PasswordAuthentication |
Authenticator.getPasswordAuthentication()
Called when password authentication is needed.
|
PasswordAuthentication |
Session.getPasswordAuthentication(URLName url)
Return any saved PasswordAuthentication for this (store or transport)
URLName.
|
(package private) PasswordAuthentication |
Authenticator.requestPasswordAuthentication(java.net.InetAddress addr,
int port,
java.lang.String protocol,
java.lang.String prompt,
java.lang.String defaultUserName)
Ask the authenticator for a password.
|
PasswordAuthentication |
Session.requestPasswordAuthentication(java.net.InetAddress addr,
int port,
java.lang.String protocol,
java.lang.String prompt,
java.lang.String defaultUserName)
Call back to the application to get the needed user name and password.
|
Modifier and Type | Method and Description |
---|---|
void |
Session.setPasswordAuthentication(URLName url,
PasswordAuthentication pw)
Save a PasswordAuthentication for this (store or transport) URLName.
|