Class ResetPasswordServiceImpl
java.lang.Object
org.alfresco.repo.security.authentication.ResetPasswordServiceImpl
- All Implemented Interfaces:
ResetPasswordService
Deprecated.
from 7.1.0 * Reset password implementation based on workflow.
- Since:
- 5.2.1
- Author:
- Jamal Kaabi-Mofrad
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated.static classDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcreateResetPasswordUrl(ClientAppConfig.ClientApp clientApp, String id, String key) Deprecated.This method creates a URL for the 'reset password' link which appears in the emailgetClientAppConfig(String clientName) Deprecated.Gets the registered client.protected StringDeprecated.protected StringDeprecated.voidinit()Deprecated.voidDeprecated.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).protected voidsendEmail(ResetPasswordServiceImpl.ResetPasswordEmailDetails emailRequest) Deprecated.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.voidsetActionService(ActionService actionService) Deprecated.voidsetActivitiHistoryService(org.activiti.engine.HistoryService activitiHistoryService) Deprecated.voidsetActivitiTaskService(org.activiti.engine.TaskService activitiTaskService) Deprecated.voidsetAuthenticationService(MutableAuthenticationService authenticationService) Deprecated.voidsetClientAppConfig(ClientAppConfig clientAppConfig) Deprecated.voidsetDefaultEmailSender(String defaultEmailSender) Deprecated.voidsetEmailHelper(EmailHelper emailHelper) Deprecated.voidsetNodeService(NodeService nodeService) Deprecated.voidsetPersonService(PersonService personService) Deprecated.voidsetSendEmailAsynchronously(boolean sendEmailAsynchronously) Deprecated.voidsetSysAdminParams(SysAdminParams sysAdminParams) Deprecated.voidsetTimerEnd(String timerEnd) Deprecated.voidsetWorkflowService(WorkflowService workflowService) Deprecated.protected StringvalidateUserAndGetEmail(String userId) Deprecated.
-
Constructor Details
-
ResetPasswordServiceImpl
public ResetPasswordServiceImpl()Deprecated.
-
-
Method Details
-
setWorkflowService
Deprecated. -
setActivitiHistoryService
public void setActivitiHistoryService(org.activiti.engine.HistoryService activitiHistoryService) Deprecated. -
setActionService
Deprecated. -
setPersonService
Deprecated. -
setNodeService
Deprecated. -
setSysAdminParams
Deprecated. -
setAuthenticationService
Deprecated. -
setActivitiTaskService
public void setActivitiTaskService(org.activiti.engine.TaskService activitiTaskService) Deprecated. -
setEmailHelper
Deprecated. -
setClientAppConfig
Deprecated. -
setTimerEnd
Deprecated. -
setDefaultEmailSender
Deprecated. -
setSendEmailAsynchronously
public void setSendEmailAsynchronously(boolean sendEmailAsynchronously) Deprecated. -
init
public void init()Deprecated. -
requestReset
Deprecated.Description copied from interface:ResetPasswordServiceRequest password reset (starts the workflow).- Specified by:
requestResetin interfaceResetPasswordService- 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.)
-
validateUserAndGetEmail
Deprecated. -
initiateResetPassword
Deprecated.Description copied from interface:ResetPasswordServiceValidates the request reset password workflow and updates the workflow.- Specified by:
initiateResetPasswordin interfaceResetPasswordService- Parameters:
resetDetails- theResetPasswordDetailsobject
-
getClientAppConfig
Deprecated.Description copied from interface:ResetPasswordServiceGets the registered client.- Specified by:
getClientAppConfigin interfaceResetPasswordService- Parameters:
clientName- the client name- Returns:
ClientAppobject
-
sendResetPasswordEmail
public void sendResetPasswordEmail(org.activiti.engine.delegate.DelegateExecution execution, String fallbackEmailTemplatePath, String emailSubject) Deprecated.Description copied from interface:ResetPasswordServiceSends reset password email.- Specified by:
sendResetPasswordEmailin interfaceResetPasswordService- 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
public void performResetPassword(org.activiti.engine.delegate.DelegateExecution execution) Deprecated.Description copied from interface:ResetPasswordServiceUpdates the user's new password.- Specified by:
performResetPasswordin interfaceResetPasswordService- Parameters:
execution- theDelegateExecutionobject
-
sendResetPasswordConfirmationEmail
public void sendResetPasswordConfirmationEmail(org.activiti.engine.delegate.DelegateExecution execution, String fallbackEmailTemplatePath, String emailSubject) Deprecated.Description copied from interface:ResetPasswordServiceUpdates the user's new password.- Specified by:
sendResetPasswordConfirmationEmailin interfaceResetPasswordService- Parameters:
execution- theDelegateExecutionobjectfallbackEmailTemplatePath- the class path of the fallback email template (confirmation email)emailSubject- the email subject key
-
sendEmail
Deprecated. -
getResetPasswordEmailTemplate
Deprecated. -
getConfirmResetPasswordEmailTemplate
Deprecated. -
createResetPasswordUrl
Deprecated.This method creates a URL for the 'reset password' link which appears in the email
-