| com.nabhinc.util.DefaultMailAuthenticator
DefaultMailAuthenticator | public class DefaultMailAuthenticator extends Authenticator (Code) | | This is a very simple authentication object that can be used for any
transport needing basic userName and password type authentication.
since: 1.0 author: Quinton McCombs version: $Id: DefaultMailAuthenticator.java,v 1.1 2006/11/11 04:56:45 wchokry Exp $ |
Method Summary | |
protected PasswordAuthentication | getPasswordAuthentication() Gets the authentication object that will be used to login to the mail
server. |
DefaultMailAuthenticator | public DefaultMailAuthenticator(String userName, String password)(Code) | | Default constructor
Parameters: userName - user name to use when authentication is requested Parameters: password - password to use when authentication is requested since: 1.0 |
getPasswordAuthentication | protected PasswordAuthentication getPasswordAuthentication()(Code) | | Gets the authentication object that will be used to login to the mail
server.
A PasswordAuthentication object containing thelogin information. since: 1.0 |
|
|