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