2016-04-30 04:39:32 +00:00
|
|
|
|
2021-11-10 11:39:43 +00:00
|
|
|
=== Disabling caching
|
2016-04-28 23:31:06 +00:00
|
|
|
|
2021-11-10 11:39:43 +00:00
|
|
|
You can disable the realm or user cache.
|
2016-04-28 23:31:06 +00:00
|
|
|
|
2021-11-10 11:39:43 +00:00
|
|
|
.Procedure
|
2016-04-28 23:31:06 +00:00
|
|
|
|
2021-11-10 11:39:43 +00:00
|
|
|
. Edit the `standalone.xml`, `standalone-ha.xml`, or `domain.xml` file in your distribution.
|
|
|
|
+
|
|
|
|
The location of this file depends on your <<_operating-mode, operating mode>>.
|
|
|
|
Here is a sample config file.
|
|
|
|
+
|
2016-08-31 17:53:47 +00:00
|
|
|
[source,xml]
|
2016-04-28 23:31:06 +00:00
|
|
|
----
|
|
|
|
|
2016-08-31 17:53:47 +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
|
|
|
----
|
|
|
|
|
2021-11-10 11:39:43 +00:00
|
|
|
. Set the `enabled` attribute to false for the cache you want to disable.
|
|
|
|
|
|
|
|
. Reboot your server for this change to take effect.
|
2016-06-01 16:24:09 +00:00
|
|
|
|
|
|
|
|