AuthenticatingRealm.isAuthenticationCachingEnabled

Returns {@code true} if authentication caching should be utilized if a {@link CacheManager} has been {@link #setCacheManager(hunt.shiro.cache.CacheManager) configured}, {@code false} otherwise. <p/> The default value is {@code true}.

@return {@code true} if authentication caching should be utilized, {@code false} otherwise.

  1. bool isAuthenticationCachingEnabled()
    class AuthenticatingRealm
    bool
    isAuthenticationCachingEnabled
    ()
  2. bool isAuthenticationCachingEnabled(AuthenticationToken token, AuthenticationInfo info)

Meta