| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | getObjectInstance(Object
the Reference ref, Name not used arg1, Context not used arg2, Hashtable<K, V> not used arg3)Implements javax. |
| public void | |
| public void | |
| public void |
| MailSessionReference | back to summary |
|---|---|
| public MailSessionReference() | |
| getObjectInstance | back to summary |
|---|---|
| public Object getObjectInstance(Object ref, Name arg1, Context arg2, Hashtable<K, V> arg3) throws Exception Implements javax. Create a javax.mail.Session instance based on the information passed in the Reference
| |
| setPassword | back to summary |
|---|---|
| public void setPassword(String password) | |
| setProperties | back to summary |
|---|---|
| public void setProperties(Properties properties) | |
| setUser | back to summary |
|---|---|
| public void setUser(String user) | |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| pack-priv PasswordAuthentication | |
| private String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public PasswordAuthentication | getPasswordAuthentication()
Overrides javax. |
| public String | |
| public void | |
| public void |
| password | back to summary |
|---|---|
| private String password | |
| passwordAuthentication | back to summary |
|---|---|
| pack-priv PasswordAuthentication passwordAuthentication | |
| user | back to summary |
|---|---|
| private String user | |
| PasswordAuthenticator | back to summary |
|---|---|
| public PasswordAuthenticator() | |
| PasswordAuthenticator | back to summary |
|---|---|
| public PasswordAuthenticator(String user, String password) | |
| getPassword | back to summary |
|---|---|
| public String getPassword() | |
| getPasswordAuthentication | back to summary |
|---|---|
| public PasswordAuthentication getPasswordAuthentication() Overrides javax. Doc from javax. Called when password authentication is needed. Subclasses should override the default implementation, which returns null. Note that if this method uses a dialog to prompt the user for this information, the dialog needs to block until the user supplies the information. This method can not simply return after showing the dialog.
| |
| getUser | back to summary |
|---|---|
| public String getUser() | |
| setPassword | back to summary |
|---|---|
| public void setPassword(String password) | |
| setUser | back to summary |
|---|---|
| public void setUser(String user) | |