You can create your own Event Listener that will be invoked on events.

http://keycloak.github.io/docs/userguide/keycloak-server/html/events.html
http://keycloak.github.io/docs/userguide/keycloak-server/html/providers.html

Also take a look at providers/event-listener-.. in examples download

On 3 December 2015 at 00:01, Jairo Alonso Henao Rojas <jahenao@itroisolutions.com> wrote:

Thanks for your response.

 

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?

 

If this is not possible, I will use the REST API to get DELETE events from a range of dates.

 

 

Best regards

 

 

Jairo Henao Rojas

IT ROI Solutions

 

 

From: Marek Posolda [mailto:mposolda@redhat.com]
Sent: Wednesday, December 2, 2015 3:08 AM
To: Jairo Alonso Henao Rojas <jahenao@itroisolutions.com>; keycloak-user@lists.jboss.org
Subject: Re: [keycloak-user] Could my application know when a user is removed?

 

We have admin events for "listen" to various events like remove user. See the docs: http://keycloak.github.io/docs/userguide/keycloak-server/html/events.html

Marek

On 01/12/15 19:20, Jairo Alonso Henao Rojas wrote:

Hello,

 

Could my application know when a user is removed ?, Can I put something to listen?

 

I need to clean multiple records when a user is removed in Keycloak

 

Thanks,

 

 

 

Jairo Henao Rojas

IT ROI Solutions

 




_______________________________________________
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