net.incongru.berkano.security.password.retrieval
Class MailNewPasswordRetrievalStrategy

java.lang.Object
  extended by net.incongru.berkano.security.password.retrieval.AbstractMailPasswordRetrievalStrategy
      extended by net.incongru.berkano.security.password.retrieval.MailNewPasswordRetrievalStrategy
All Implemented Interfaces:
PasswordRetrievalStrategy

public class MailNewPasswordRetrievalStrategy
extends AbstractMailPasswordRetrievalStrategy

Version:
$Revision: 1.2 $
Author:
greg, $Author: gj $ (last edit)

Constructor Summary
MailNewPasswordRetrievalStrategy(UserDAO userDAO, PasswordGenerator passwordGenerator, net.incongru.util.mail.Mailer mailer)
           
 
Method Summary
protected  java.lang.String getMailSubject()
           
protected  java.lang.String getTemplateName()
           
protected  void prepareMailContext(User u, net.incongru.util.mail.MailBean mail)
          Use this method to change any setting of the user if needed and add items in the map passed to the template engine.
 
Methods inherited from class net.incongru.berkano.security.password.retrieval.AbstractMailPasswordRetrievalStrategy
getRequiredField, retrievePassword
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailNewPasswordRetrievalStrategy

public MailNewPasswordRetrievalStrategy(UserDAO userDAO,
                                        PasswordGenerator passwordGenerator,
                                        net.incongru.util.mail.Mailer mailer)
Method Detail

prepareMailContext

protected void prepareMailContext(User u,
                                  net.incongru.util.mail.MailBean mail)
Description copied from class: AbstractMailPasswordRetrievalStrategy
Use this method to change any setting of the user if needed and add items in the map passed to the template engine.

Overrides:
prepareMailContext in class AbstractMailPasswordRetrievalStrategy

getMailSubject

protected java.lang.String getMailSubject()
Specified by:
getMailSubject in class AbstractMailPasswordRetrievalStrategy

getTemplateName

protected java.lang.String getTemplateName()
Specified by:
getTemplateName in class AbstractMailPasswordRetrievalStrategy


Copyright © 2004-2007. All Rights Reserved.