keycloak-uncached
Changes
testsuite/integration/pom.xml 26(+0 -26)
Details
diff --git a/docbook/auth-server-docs/reference/en/en-US/modules/server-installation.xml b/docbook/auth-server-docs/reference/en/en-US/modules/server-installation.xml
index 4dc4b32..38ca3f8 100755
--- a/docbook/auth-server-docs/reference/en/en-US/modules/server-installation.xml
+++ b/docbook/auth-server-docs/reference/en/en-US/modules/server-installation.xml
@@ -370,86 +370,6 @@ bin/add-user.[sh|bat] -r master -u <username> -p <password>
</para>
</section>
</section>
-
- <section>
- <title>JSON File based model</title>
- <para>
- 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. <emphasis>It is not recommended for
- production.</emphasis>
- </para>
- <para>
- 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.
- </para>
- <para>
- To configure Keycloak to use file persistence open <literal>standalone/configuration/keycloak-server.json</literal>
- in your favourite editor. Change the realm and user providers and disable caching. Change:
-
-<programlisting><![CDATA[
-"realm": {
- "provider": "jpa"
-},
-
-"user": {
- "provider": "jpa"
-},
-
-"userSessions": {
- "provider" : "mem"
-},
-
-"realmCache": {
- "provider": "mem"
-},
-
-"userCache": {
- "provider": "mem",
- "mem": {
- "maxSize": 20000
- }
-},
-]]></programlisting>
-
- to:
-
- <programlisting><![CDATA[
-"realm": {
- "provider": "file"
-},
-
-"user": {
- "provider": "file"
-},
-
-"userSessions": {
- "provider" : "mem"
-},
-
-"realmCache": {
- "provider": "none"
-},
-
-"userCache": {
- "provider": "none",
-},
-]]></programlisting>
-
-You can also change the location of the data file by adding a connectionsFile snippet:<programlisting><![CDATA[
-"connectionsFile": {
- "default" : {
- "directory": "/mydirectory",
- "fileName": "myfilename.json"
- }
-}
-]]></programlisting>
-
-All configuration options are optional. Default value for directory is <literal>${jboss.server.data.dir}</literal>. Default file name
- is <literal>keycloak-model.json</literal>.
- </para>
- </section>
<section>
<title>Outgoing Server HTTP Requests</title>
testsuite/integration/pom.xml 26(+0 -26)
diff --git a/testsuite/integration/pom.xml b/testsuite/integration/pom.xml
index 44d1e50..db31b7f 100755
--- a/testsuite/integration/pom.xml
+++ b/testsuite/integration/pom.xml
@@ -370,32 +370,6 @@
</profile>
<profile>
- <id>file</id>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>**/broker/***</exclude>
- <exclude>**/CacheTest.java</exclude>
- </excludes>
- <systemPropertyVariables>
- <keycloak.realm.provider>file</keycloak.realm.provider>
- <keycloak.user.provider>file</keycloak.user.provider>
- <keycloak.realm.cache.provider>none</keycloak.realm.cache.provider>
- <keycloak.user.cache.provider>none</keycloak.user.cache.provider>
- <jboss.server.data.dir>${project.build.directory}</jboss.server.data.dir>
- </systemPropertyVariables>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
-
- <profile>
<id>mongo</id>
<properties>