<div dir="ltr">You can create your own Event Listener that will be invoked on events.<div><br></div><div><a href="http://keycloak.github.io/docs/userguide/keycloak-server/html/events.html">http://keycloak.github.io/docs/userguide/keycloak-server/html/events.html</a><br></div><div><a href="http://keycloak.github.io/docs/userguide/keycloak-server/html/providers.html">http://keycloak.github.io/docs/userguide/keycloak-server/html/providers.html</a><br></div><div><br></div><div>Also take a look at providers/event-listener-.. in examples download</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 December 2015 at 00:01, Jairo Alonso Henao Rojas <span dir="ltr"><<a href="mailto:jahenao@itroisolutions.com" target="_blank">jahenao@itroisolutions.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal"><a name="15164ef0a85986a5__MailEndCompose"><span style="color:#1f497d">Thanks for your response.<u></u><u></u></span></a></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Just enable administrative events and now works for me, but, Could I have a class that Keycloak invokes when the event occurs?, Am I asking too much?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">If this is not possible, I will use the REST API to get DELETE events from a range of dates.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Best regards<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#1f497d"><u></u> <u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#1f497d">Jairo Henao Rojas<u></u><u></u></span></b></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#1f497d">IT ROI Solutions<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
</span><div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span style="color:windowtext"> Marek Posolda [mailto:<a href="mailto:mposolda@redhat.com" target="_blank">mposolda@redhat.com</a>]
<br>
<b>Sent:</b> Wednesday, December 2, 2015 3:08 AM<br>
<b>To:</b> Jairo Alonso Henao Rojas <<a href="mailto:jahenao@itroisolutions.com" target="_blank">jahenao@itroisolutions.com</a>>; <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<b>Subject:</b> Re: [keycloak-user] Could my application know when a user is removed?<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">We have admin events for "listen" to various events like remove user. See the docs:
<a href="http://keycloak.github.io/docs/userguide/keycloak-server/html/events.html" target="_blank">
http://keycloak.github.io/docs/userguide/keycloak-server/html/events.html</a><br>
<br>
Marek<br>
<br>
On 01/12/15 19:20, Jairo Alonso Henao Rojas wrote:<span style="font-size:12.0pt"><u></u><u></u></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Could my application know when a user is removed ?, Can I put something to listen?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I need to clean multiple records when a user is removed in Keycloak<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#1f497d"> </span></b><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:#1f497d">Jairo Henao Rojas</span></b><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#1f497d">IT ROI Solutions</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><br>
<br>
<br>
<u></u><u></u></span></p>
<pre>_______________________________________________<u></u><u></u></pre>
<pre>keycloak-user mailing list<u></u><u></u></pre>
<pre><a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><u></u><u></u></pre>
<pre><a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><u></u><u></u></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u> <u></u></span></p>
</div></div></div>
</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><br></div>