org.kuali.rice.kew.mail
Class Mailer.SimpleAuthenticator

java.lang.Object
  extended by javax.mail.Authenticator
      extended by org.kuali.rice.kew.mail.Mailer.SimpleAuthenticator
Enclosing class:
Mailer

private static class Mailer.SimpleAuthenticator
extends javax.mail.Authenticator

SimpleAuthenticator is used to do simple authentication when the SMTP server requires it.


Field Summary
private  javax.mail.PasswordAuthentication passwordAuthentication
           
 
Constructor Summary
private Mailer.SimpleAuthenticator(String username, String password)
           
 
Method Summary
 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
 

Field Detail

passwordAuthentication

private final javax.mail.PasswordAuthentication passwordAuthentication
Constructor Detail

Mailer.SimpleAuthenticator

private Mailer.SimpleAuthenticator(String username,
                                   String password)
Method Detail

getPasswordAuthentication

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


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.