public class UserServiceImpl<U extends IGenericEcomUser,R extends ResetPassword.ResetPasswordResponse> extends UserServiceImpl<U,R>
UserServiceImpl
for real website / ecom scenariosResetPassword.ResetPasswordResponse
userDao
Constructor and Description |
---|
UserServiceImpl() |
Modifier and Type | Method and Description |
---|---|
MailerService |
getMailerService() |
EmailMessage |
getResetPasswordEmailMessageSettings() |
Publisher |
getResetPasswordMailPublisher() |
protected void |
sendResetPasswordMail(String userNameId,
String newPassword) |
void |
setMailerService(MailerService mailerService) |
void |
setResetPasswordEmailMessageSettings(EmailMessage resetPasswordEmailMessageSettings) |
void |
setResetPasswordMailPublisher(Publisher resetPasswordMailPublisher) |
protected R |
setupResponse(String userNameId,
String newPassword)
Please note this method is called before the newPassword is persisted.
|
addChangeListener, changePassword, changePasswordRestrictedAccess, generatePassword, getEnvironmentSupplier, getListeners, getUserDao, notifyAllListeners, notifyChange, onResetFail, onResetSuccess, resetPassword, save, save, setListeners, setUserDao, updateShell, updateShell
protected void sendResetPasswordMail(String userNameId, String newPassword) throws Exception
Exception
protected R setupResponse(String userNameId, String newPassword) throws Exception
ResetPassword.ResetPasswordResponse.getResponseCode()
setupResponse
in class UserServiceImpl<U extends IGenericEcomUser,R extends ResetPassword.ResetPasswordResponse>
userNameId
- as StringnewPassword
- as StringResetPassword.ResetPasswordResponse
Exception
public Publisher getResetPasswordMailPublisher()
public void setResetPasswordMailPublisher(Publisher resetPasswordMailPublisher)
public MailerService getMailerService()
public void setMailerService(MailerService mailerService)
public EmailMessage getResetPasswordEmailMessageSettings()
public void setResetPasswordEmailMessageSettings(EmailMessage resetPasswordEmailMessageSettings)
Copyright © 2018. All rights reserved.