From b79160722c8f5a97acc59051a8e17ae6778e10a1 Mon Sep 17 00:00:00 2001 From: Stan Silvert Date: Fri, 6 Mar 2015 13:48:40 -0500 Subject: [PATCH] Update documentation for JSON File persistence of the model. --- .../en/en-US/modules/server-installation.xml | 81 +++++++++++++++++++ testsuite/integration/pom.xml | 4 +- 2 files changed, 83 insertions(+), 2 deletions(-) diff --git a/docbook/reference/en/en-US/modules/server-installation.xml b/docbook/reference/en/en-US/modules/server-installation.xml index bef369fc5d..1d9bc6b405 100755 --- a/docbook/reference/en/en-US/modules/server-installation.xml +++ b/docbook/reference/en/en-US/modules/server-installation.xml @@ -382,6 +382,87 @@ keycloak-war-dist-all-&project.version;/ for details about those options and their default values. + +
+ JSON File based model + + Keycloak provides a JSON file based model implementation, which means that your identity data will be saved + in a flat JSON text file instead of traditional RDBMS. The performance of this implementaion is likely to + be slower because it reads and writes the entire file with each call to the Keycloak REST API. But it is + very useful in development to see exactly what is being saved. It is not recommended for + production. + + + Note that this only applies to realm and user data. There is currently no file implementation for + event persistence. So you will need to use JPA or Mongo for that. + + + To configure Keycloak to use file persistence open standalone/configuration/keycloak-server.json + in your favourite editor. Change the realm and user providers and disable caching. Change: + + + + to: + + + +You can also change the location of the data file by specifying parameters on the realm: + + All configuration options are optional. Default value for directory is ${jboss.server.data.dir}. Default file name + is keycloak-model.json. + +
EAP6.x Logging diff --git a/testsuite/integration/pom.xml b/testsuite/integration/pom.xml index 4529699b2d..00aee02d78 100755 --- a/testsuite/integration/pom.xml +++ b/testsuite/integration/pom.xml @@ -393,10 +393,10 @@ file - file +