Sets whether or not caching should be used if a {@link CacheManager} has been {@link #setCacheManager(hunt.shiro.cache.CacheManager) configured}.
@param cachingEnabled whether or not to globally enable caching for this realm.
See Implementation
Sets whether or not caching should be used if a {@link CacheManager} has been {@link #setCacheManager(hunt.shiro.cache.CacheManager) configured}.
@param cachingEnabled whether or not to globally enable caching for this realm.