| org.jaffa.util.EmailHelperAuthenticator
EmailHelperAuthenticator | class EmailHelperAuthenticator extends Authenticator (Code) | | This is the authenticator for SMTP session, used by the EmailHelper
version: 1.0 author: PaulE since: 1.3 |
EmailHelperAuthenticator | public EmailHelperAuthenticator(String username, String password)(Code) | | Creates an authenticator using supplied credentials
Parameters: username - Username Parameters: password - Password |
getPasswordAuthentication | public PasswordAuthentication getPasswordAuthentication()(Code) | | 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.
The PasswordAuthentication collected from the user, or null if none is provided. |
|
|