keycloak-event-receiver
Library to receive Keycloak events pusblished by keycloak-event-publisher
How to use
Spring REST Receiver
Add dependency in your pom
<dependency>
<groupId>org.fintrace</groupId>
<artifactId>keycloak-event-receiver-http</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
After adding dependency,
- Implement EventReceiver.java or extend AbstractEventReceiver.java service
- Add implemented service as a spring bean
Exposed REST API
POST
keycloak/event
POST
keycloak/adminevent
(Optional)
- Add authorization checks via spring security to the above URI.
JMS Receiver
TODO