If you use the Shiro INI configuration, you set the cacheManager SecurityManager property like any other bean property. For example:
[main] cacheManager = com.something.impl.SomeCacheManager # config cacheManager as necessary, eg # cacheManager.foo = bar securityManager.cacheManager = $cacheManager
You can use the ready-made EhCacheManager or implement the CacheManager
and Cache
interfaces yourself to use a specialized backup storage (for example, Memcache, Coherence, GigaSpaces, any modern NoSQL key / value store, etc ...)
Les hazlewood
source share