public interface ResetPasswordService
| Modifier and Type | Method and Description |
|---|---|
ClientAppConfig.ClientApp |
getClientAppConfig(String clientName)
Gets the registered client.
|
void |
initiateResetPassword(ResetPasswordServiceImpl.ResetPasswordDetails resetDetails)
Validates the request reset password workflow and updates the workflow.
|
void |
performResetPassword(org.activiti.engine.delegate.DelegateExecution execution)
Updates the user's new password.
|
void |
requestReset(String userId,
String clientName)
Request password reset (starts the workflow).
|
void |
sendResetPasswordConfirmationEmail(org.activiti.engine.delegate.DelegateExecution execution,
String fallbackEmailTemplatePath,
String emailSubject)
Updates the user's new password.
|
void |
sendResetPasswordEmail(org.activiti.engine.delegate.DelegateExecution execution,
String fallbackEmailTemplatePath,
String emailSubject)
Sends reset password email.
|
void requestReset(String userId, String clientName)
userId - the user idclientName - the client app name (used to lookup the client that is registered to send emails so that
client's specific configuration could be used.)void initiateResetPassword(ResetPasswordServiceImpl.ResetPasswordDetails resetDetails)
resetDetails - the ResetPasswordDetails objectvoid sendResetPasswordEmail(org.activiti.engine.delegate.DelegateExecution execution,
String fallbackEmailTemplatePath,
String emailSubject)
execution - the DelegateExecution object (is provided when a user requests password reset)fallbackEmailTemplatePath - the class path of the fallback email template (request reset password email)emailSubject - the email subject keyvoid performResetPassword(org.activiti.engine.delegate.DelegateExecution execution)
execution - the DelegateExecution objectvoid sendResetPasswordConfirmationEmail(org.activiti.engine.delegate.DelegateExecution execution,
String fallbackEmailTemplatePath,
String emailSubject)
execution - the DelegateExecution objectfallbackEmailTemplatePath - the class path of the fallback email template (confirmation email)emailSubject - the email subject keyClientAppConfig.ClientApp getClientAppConfig(String clientName)
clientName - the client nameClientApp objectClientAppNotFoundException - if no ClientApp is found with the given nameCopyright © 2005–2018 Alfresco Software. All rights reserved.