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

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

public class MailCurrentPasswordRetrievalStrategy
extends AbstractMailPasswordRetrievalStrategy

A simple PasswordRetrievalStrategy which will send an email containing the current password of the user. This obviously only works if we are able to retrieve the password in clear text from the user data. (ie, the CleanPasswordMatchingStrategy is used)

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

Constructor Summary
MailCurrentPasswordRetrievalStrategy(net.incongru.util.mail.Mailer mailer)
           
 
Method Summary
protected  java.lang.String getMailSubject()
           
protected  java.lang.String getTemplateName()
           
 
Methods inherited from class net.incongru.berkano.security.password.retrieval.AbstractMailPasswordRetrievalStrategy
getRequiredField, prepareMailContext, retrievePassword
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailCurrentPasswordRetrievalStrategy

public MailCurrentPasswordRetrievalStrategy(net.incongru.util.mail.Mailer mailer)
Method Detail

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.