Disable caching for map storage.

Also aligns the properties with the integration test suite to avoid confusion.

Closes #11748
This commit is contained in:
Alexander Schwartz 2022-04-28 16:44:16 +02:00 committed by Hynek Mlnařík
parent 81078274fa
commit e2cf6ae92b
2 changed files with 19 additions and 2 deletions

View file

@ -297,6 +297,9 @@
<systemProperty><key>keycloak.userSession.provider</key><value>map</value></systemProperty>
<systemProperty><key>keycloak.loginFailure.provider</key><value>map</value></systemProperty>
<systemProperty><key>keycloak.authorization.provider</key><value>map</value></systemProperty>
<systemProperty><key>keycloak.authorizationCache.enabled</key><value>false</value></systemProperty>
<systemProperty><key>keycloak.realmCache.enabled</key><value>false</value></systemProperty>
<systemProperty><key>keycloak.userCache.enabled</key><value>false</value></systemProperty>
</systemProperties>
</configuration>
</plugin>

View file

@ -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}"
}
},