keycloak-scim/server_installation/topics/cache/disable.adoc

27 lines
651 B
Text
Raw Normal View History

2016-04-30 04:39:32 +00:00
2016-04-28 23:31:06 +00:00
=== Disabling Caching
To disable the realm or user cache, you must edit the `standalone.xml`, `standalone-ha.xml`,
or `domain.xml` file in your distribution. The location of this file
2017-08-28 12:50:14 +00:00
depends on your <<_operating-mode, operating mode>>.
2016-04-28 23:31:06 +00:00
Here's what the config looks like initially.
[source,xml]
2016-04-28 23:31:06 +00:00
----
<spi name="userCache">
<provider name="default" enabled="true"/>
</spi>
<spi name="realmCache">
<provider name="default" enabled="true"/>
</spi>
2016-04-28 23:31:06 +00:00
----
To disable the cache set the `enabled` attribute to false for the cache you want to disable. You must reboot your
2016-04-28 23:31:06 +00:00
server for this change to take effect.