<p dir="ltr">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.</p>
<div class="gmail_quote">On 21 Apr 2016 06:43, "Marek Posolda" <<a href="mailto:mposolda@redhat.com">mposolda@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>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.<br>
<br>
Marek<br>
<br>
<br>
On 21/04/16 00:48, Bruno Palermo wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi,<br>
<br>
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.<br>
<br>
Thanks,<br>
Bruno<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
keycloak-user mailing list
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div>