info.magnolia.module.publicuserregistration.strategy
Class Mail
java.lang.Object
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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Mail
public Mail()
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.