keycloak-scim/examples/providers/audit-provider-mem
2014-05-30 08:52:03 +01:00
..
src/main Fix audit provider example 2014-05-29 15:08:27 +01:00
pom.xml Bump version to 1.0.beta2-SNAPSHOT 2014-05-30 08:52:03 +01:00
README.md Added example providers for audit listener and audit provider 2014-05-27 15:11:52 +01:00

Example Audit Provider that stores events in a List

To deploy copy target/audit-provider-mem-example.jar to standalone/deployments/auth-server.war/WEB-INF/lib. Then edit standalone/configuration/keycloak-server.json, change:

"audit": { "provider": "jpa" }

to:

"audit": { "provider": "in-mem" }

Then start (or restart)the server. Once started open the admin console, select your realm, then click on Audit, followed by config. Set the toggle for Enabled to ON. After this try to logout and login again then open the Audit tab again in the admin console to view events from the in-mem provider.