keycloak-scim/examples/providers/audit-provider-mem
2014-08-21 10:46:49 -04:00
..
src/main Refactor to prepar for splitting model 2014-06-27 09:39:06 +01:00
pom.xml bump pom 2014-08-21 10:46:49 -04: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.