info.magnolia.module.publicuserregistration.strategy
Class Mail

java.lang.Object
  extended by info.magnolia.module.publicuserregistration.strategy.Mail
All Implemented Interfaces:
RegistrationStrategy

public class Mail
extends Object
implements RegistrationStrategy

Strategy which sends the registered public user a verification email which contains a link. When the user clicks the link, the system enables the user.


Constructor Summary
Mail()
           
 
Method Summary
 String getEmailTemplate()
           
 String getFromEmail()
           
 String getFromName()
           
 String getPagePath()
          The full url to the page which will validate the user.
 String getSubject()
           
 void setEmailTemplate(String emailTemplate)
           
 void setFromEmail(String fromEmail)
           
 void setFromName(String fromName)
           
 void setI18nBasename(String basename)
          Used for the subject and from name of the mail.
 void setPagePath(String pagePath)
           
 void setSubject(String subject)
           
 void validateRegistration(info.magnolia.cms.security.User user, String realm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mail

public Mail()
Method Detail

getPagePath

public String getPagePath()
The full url to the page which will validate the user.


setPagePath

public void setPagePath(String pagePath)

getEmailTemplate

public String getEmailTemplate()

setEmailTemplate

public void setEmailTemplate(String emailTemplate)

getFromEmail

public String getFromEmail()

setFromEmail

public void setFromEmail(String fromEmail)

getFromName

public String getFromName()

setFromName

public void setFromName(String fromName)

getSubject

public String getSubject()

setSubject

public void setSubject(String subject)

setI18nBasename

public void setI18nBasename(String basename)
Used for the subject and from name of the mail.


validateRegistration

public void validateRegistration(info.magnolia.cms.security.User user,
                                 String realm)
Specified by:
validateRegistration in interface RegistrationStrategy


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.