| org.apache.commons.mail.DefaultAuthenticator
DefaultAuthenticator | public class DefaultAuthenticator 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: DefaultAuthenticator.java 225600 2005-07-27 20:16:23Z rdonkin $ |
Method Summary | |
protected PasswordAuthentication | getPasswordAuthentication() Gets the authentication object that will be used to login to the mail
server. |
DefaultAuthenticator | public DefaultAuthenticator(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 |
|
|