org.jasig.portlet.emailpreview.service.auth
Class SimplePasswordAuthenticator

java.lang.Object
  extended by javax.mail.Authenticator
      extended by org.jasig.portlet.emailpreview.service.auth.SimplePasswordAuthenticator

public class SimplePasswordAuthenticator
extends javax.mail.Authenticator

Version:
$Revision: 20529 $
Author:
Jen Bourey, jbourey@unicon.net

Constructor Summary
SimplePasswordAuthenticator(String username, String password)
          Construct a new SimplePasswordAuthenticator instance.
 
Method Summary
 boolean equals(Object obj)
           
protected  javax.mail.PasswordAuthentication getPasswordAuthentication()
           
 int hashCode()
           
 
Methods inherited from class javax.mail.Authenticator
getDefaultUserName, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingSite
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplePasswordAuthenticator

public SimplePasswordAuthenticator(String username,
                                   String password)
Construct a new SimplePasswordAuthenticator instance.

Parameters:
username -
password -
Method Detail

getPasswordAuthentication

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

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(Object)

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2012 Jasig. All Rights Reserved.