| Package | Description |
|---|---|
| com.sun.mail.util.logging |
Contains JavaMailTM extensions for
the JavaTM platform's core logging
facilities.
|
| javax.mail |
The JavaMailTM API
provides classes that model a mail system.
|
| Modifier and Type | Class and Description |
|---|---|
private static class |
MailHandler.DefaultAuthenticator
Used for storing a password from the LogManager or literal string.
|
| Modifier and Type | Field and Description |
|---|---|
private Authenticator |
MailHandler.auth
Holds the authenticator required to login to the email server.
|
| Modifier and Type | Method and Description |
|---|---|
Authenticator |
MailHandler.getAuthenticator()
Gets the Authenticator used to login to the email server.
|
(package private) static Authenticator |
LogManagerProperties.newAuthenticator(java.lang.String name)
Creates a new authenticator from the given class name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MailHandler.setAuthenticator(Authenticator auth)
Sets the Authenticator used to login to the email server.
|
private void |
MailHandler.setAuthenticator0(Authenticator auth)
A private hook to handle possible future overrides.
|
| Modifier and Type | Field and Description |
|---|---|
private Authenticator |
Session.authenticator |
| Modifier and Type | Method and Description |
|---|---|
static Session |
Session.getDefaultInstance(java.util.Properties props,
Authenticator authenticator)
Get the default Session object.
|
static Session |
Session.getInstance(java.util.Properties props,
Authenticator authenticator)
Get a new Session object.
|
| Constructor and Description |
|---|
Session(java.util.Properties props,
Authenticator authenticator) |