Merge pull request #656 from stianst/master

Fixes to event-store-mem example
This commit is contained in:
Stian Thorgersen 2014-08-29 14:56:09 +02:00
commit 52f86f2293
3 changed files with 4 additions and 4 deletions

View file

@ -3,13 +3,13 @@ Example Event Store that stores events in memory
To deploy copy target/event-store-mem-example.jar to standalone/deployments/auth-server.war/WEB-INF/lib. Then edit standalone/configuration/keycloak-server.json, change:
"event-store": {
"eventsStore": {
"provider": "jpa"
}
to:
"event-store": {
"eventsStore": {
"provider": "in-mem"
}

View file

@ -59,7 +59,7 @@ public class MemEventStoreProvider implements EventStoreProvider {
@Override
public void onEvent(Event event) {
events.add(event);
events.add(0, event);
}
@Override

View file

@ -1 +1 @@
events.MemEventStoreProviderFactory
org.keycloak.examples.providers.events.MemEventStoreProviderFactory