com.googlecode.jpattern.service.mail
Class MailSenderAuthenticator

java.lang.Object
  extended by javax.mail.Authenticator
      extended by com.googlecode.jpattern.service.mail.MailSenderAuthenticator

public class MailSenderAuthenticator
extends javax.mail.Authenticator

Author:
Francesco Cina' 16 Feb 2011

Constructor Summary
MailSenderAuthenticator(String username, String password)
           
 
Method Summary
protected  javax.mail.PasswordAuthentication getPasswordAuthentication()
           
 
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
 

Constructor Detail

MailSenderAuthenticator

public MailSenderAuthenticator(String username,
                               String password)
Method Detail

getPasswordAuthentication

protected javax.mail.PasswordAuthentication getPasswordAuthentication()
Overrides:
getPasswordAuthentication in class javax.mail.Authenticator


Copyright © 2011. All Rights Reserved.