how to reset user password in java code?
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