Interface ResetPasswordService
-
- All Known Implementing Classes:
ResetPasswordServiceImpl
@Deprecated public interface ResetPasswordService
Deprecated.from 7.1.0 Reset password service.- Since:
- 5.2.1
- Author:
- Jamal Kaabi-Mofrad
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ClientAppConfig.ClientAppgetClientAppConfig(String clientName)Deprecated.Gets the registered client.voidinitiateResetPassword(ResetPasswordServiceImpl.ResetPasswordDetails resetDetails)Deprecated.Validates the request reset password workflow and updates the workflow.voidperformResetPassword(org.activiti.engine.delegate.DelegateExecution execution)Deprecated.Updates the user's new password.voidrequestReset(String userId, String clientName)Deprecated.Request password reset (starts the workflow).voidsendResetPasswordConfirmationEmail(org.activiti.engine.delegate.DelegateExecution execution, String fallbackEmailTemplatePath, String emailSubject)Deprecated.Updates the user's new password.voidsendResetPasswordEmail(org.activiti.engine.delegate.DelegateExecution execution, String fallbackEmailTemplatePath, String emailSubject)Deprecated.Sends reset password email.
-
-
-
Method Detail
-
requestReset
void requestReset(String userId, String clientName)
Deprecated.Request password reset (starts the workflow).- Parameters:
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.)
-
initiateResetPassword
void initiateResetPassword(ResetPasswordServiceImpl.ResetPasswordDetails resetDetails)
Deprecated.Validates the request reset password workflow and updates the workflow.- Parameters:
resetDetails- theResetPasswordDetailsobject
-
sendResetPasswordEmail
void sendResetPasswordEmail(org.activiti.engine.delegate.DelegateExecution execution, String fallbackEmailTemplatePath, String emailSubject)Deprecated.Sends reset password email.- Parameters:
execution- theDelegateExecutionobject (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 key
-
performResetPassword
void performResetPassword(org.activiti.engine.delegate.DelegateExecution execution)
Deprecated.Updates the user's new password.- Parameters:
execution- theDelegateExecutionobject
-
sendResetPasswordConfirmationEmail
void sendResetPasswordConfirmationEmail(org.activiti.engine.delegate.DelegateExecution execution, String fallbackEmailTemplatePath, String emailSubject)Deprecated.Updates the user's new password.- Parameters:
execution- theDelegateExecutionobjectfallbackEmailTemplatePath- the class path of the fallback email template (confirmation email)emailSubject- the email subject key
-
getClientAppConfig
ClientAppConfig.ClientApp getClientAppConfig(String clientName)
Deprecated.Gets the registered client.- Parameters:
clientName- the client name- Returns:
ClientAppobject- Throws:
ClientAppNotFoundException- if noClientAppis found with the given name
-
-