[keycloak-user] Is there a pre-save event

Danny Im imxxx021 at umn.edu
Wed Mar 8 13:13:03 EST 2017


Hi,

I'm implementing an Event Listener Provider, and was wondering if there is
a way to add some functionality before an object is created or updated.  In
my case, I would like to do some extra validation on incoming fields before
a user is created within keycloak.

In the javadoc:
http://www.keycloak.org/docs-api/2.5/javadocs/index.html
under org.keycloak.events.admin.OperationType I only see four actions:
ACTION
<http://www.keycloak.org/docs-api/2.5/javadocs/org/keycloak/events/admin/OperationType.html#ACTION>,
CREATE,
<http://www.keycloak.org/docs-api/2.5/javadocs/org/keycloak/events/admin/OperationType.html#CREATE>
DELETE
<http://www.keycloak.org/docs-api/2.5/javadocs/org/keycloak/events/admin/OperationType.html#DELETE>,
and UPDATE
<http://www.keycloak.org/docs-api/2.5/javadocs/org/keycloak/events/admin/OperationType.html#UPDATE>


Thanks!

-- 
Danny Im
Software Developer
Polar Geospatial Center
University of Minnesota


More information about the keycloak-user mailing list