AlfrescoResetPassword
Alfresco Reset Password add-on is a great thing that allows you to solve missing capability of Alfresco to reset passwords for users who forgot owns password without contacting Administrator.
Features
- Sends email notification with a confirmation link
- Reset password link will be expired after 24h
- It works fine even if multitenancy feature is enabled
User's reset password manual
- Click Forgot Password button
- Enter username
- You'll receive email notification with link for changing password
- Enter your new password and confirm it.
Compatibility was tested on versions:
- Alfresco 5.2
- Alfresco 6.0.7
- Alfresco 6.2.0
How to build
The following tools must be installed:
- Java8
- Maven3
Required settings
- You have to configure Alfresco Outbound SMTP in {ALFRESCO LOCATION}/tomcat/shared/classes/alfresco-global.properties.
mail.host={mail host}
mail.port={mail port}
mail.username={mail username}
mail.password={mail password}
mail.protocol=smtps
mail.smtps.starttls.enable=true
mail.smtps.auth=true
mail.from.enabled=false
mail.from.default={default sending email}
Build steps
- Clone repo
$ git clone https://github.com/FlexSolution/AlfrescoResetPassword.git
- Compile repo amp
$ cd ResetPasswordAddon/resetPassword
$ mvn clean package
- Compile share amp
$ cd ../resetPassword-share
$ mvn clean package
How to deploy add-on to Alfresco
- Compile AMPs for alfresco and share how described above
- Stop Alfresco
- Copy file ResetPasswordAddon/resetPassword/target/reset-password-repo.amp into ${Alfresco_HOME}/amps folder
- Copy file ResetPasswordAddon/resetPassword-share/target/reset-password-share.amp into ${Alfresco_HOME}/amps_share folder
- Apply AMPs by executing command from command line
$ cd ${Alfresco_HOME}/bin
$ apply_amps.sh -force
- Start Alfresco