i am creating forget password functionality . so i used admin credentials to update user password .
so i am using
serviceRegistry.getAuthenticationService().setAuthentication(userName, char [] password); to update the password.
but its not updating
This can be called by an admin user only.
I hope you have tried to call this as admin only.
If you are still getting the error then please share the error logs you are receiving.
Regards,
Kintu
Yes i am calling using admin user . admin user can change password of any user.
Is it correct ?
Yes, but if you can share what error you are getting then I can help you.
Regards,
Kintu
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.