Quick-and-dirty workaround: try to authenticate as the user. That will either succeed, or fail, which tells you if the provided password was correct.
I think the admin client doesn't support this. If you are admin and you want to reset password of some user, you are not supposed to know the password of user anyway. Keycloak admin console also doesn't need to know existing user password when you want to reset password of user.
Marek
On 21/04/16 00:48, Bruno Palermo wrote:
Hi,
I'm trying to implement a REST API for some basic user actions, like change password and would like to know if there's any way to validate the current user password before reset his password using the provide java API.
Thanks,
Bruno
_______________________________________________ keycloak-user mailing list keycloak-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/keycloak-user
_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user