private void updateCacheState ( Map < String , Object > props ) { getAuthenticationConfig ( props ) ; if ( cacheEnabled ) { authCacheServiceRef . activate ( cc ) ; } else { authCacheServiceRef . deactivate ( cc ) ; } }
Based on the configuration properties the auth cache should either be active or not .