|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.mail.Authenticator
org.apache.taglibs.mailer.MailAuthenticator
public class MailAuthenticator
MailAuthenticator - a password authentication class used to access a mail server that needs authentication
Field Summary | |
---|---|
protected java.lang.String |
m_password
The users password used for basic authentication |
protected java.lang.String |
m_user
The users username used for basic authentication |
Constructor Summary | |
---|---|
MailAuthenticator()
constructor calls the super class constructor |
|
MailAuthenticator(java.lang.String user,
java.lang.String password)
constructor calls the super class constructor |
Method Summary | |
---|---|
protected javax.mail.PasswordAuthentication |
getPasswordAuthentication()
overrides the getPasswordAuthentication method in the super class it creates a dialog box to collect the users name and password for a connection to the mail server |
Methods inherited from class javax.mail.Authenticator |
---|
getDefaultUserName, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingSite |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String m_user
protected java.lang.String m_password
Constructor Detail |
---|
public MailAuthenticator(java.lang.String user, java.lang.String password)
public MailAuthenticator()
Method Detail |
---|
protected javax.mail.PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication
in class javax.mail.Authenticator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |