From e2cf6ae92b1dbd91089de4da7a721e5222b3edb9 Mon Sep 17 00:00:00 2001 From: Alexander Schwartz Date: Thu, 28 Apr 2022 16:44:16 +0200 Subject: [PATCH] Disable caching for map storage. Also aligns the properties with the integration test suite to avoid confusion. Closes #11748 --- testsuite/utils/pom.xml | 3 +++ .../resources/META-INF/keycloak-server.json | 18 ++++++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/testsuite/utils/pom.xml b/testsuite/utils/pom.xml index 6dac827028..275990d30b 100755 --- a/testsuite/utils/pom.xml +++ b/testsuite/utils/pom.xml @@ -297,6 +297,9 @@ keycloak.userSession.providermap keycloak.loginFailure.providermap keycloak.authorization.providermap + keycloak.authorizationCache.enabledfalse + keycloak.realmCache.enabledfalse + keycloak.userCache.enabledfalse diff --git a/testsuite/utils/src/main/resources/META-INF/keycloak-server.json b/testsuite/utils/src/main/resources/META-INF/keycloak-server.json index b0c111c4b7..00e2dac3ec 100755 --- a/testsuite/utils/src/main/resources/META-INF/keycloak-server.json +++ b/testsuite/utils/src/main/resources/META-INF/keycloak-server.json @@ -190,9 +190,23 @@ }, "realmCache": { - "provider": "${keycloak.realm.cache.provider:default}", "default" : { - "enabled": "${keycloak.realm.cache.provider.enabled:true}" + "enabled": "${keycloak.realmCache.enabled:true}" + } + }, + + "userCache": { + "default" : { + "enabled": "${keycloak.userCache.enabled:true}" + }, + "mem": { + "maxSize": 20000 + } + }, + + "authorizationCache": { + "default": { + "enabled": "${keycloak.authorizationCache.enabled:true}" } },