Class MongoDbAuthorizationCacheManager

java.lang.Object
org.graylog2.security.MongoDbAuthorizationCacheManager
All Implemented Interfaces:
org.apache.shiro.cache.CacheManager

public class MongoDbAuthorizationCacheManager extends Object implements org.apache.shiro.cache.CacheManager
  • Constructor Details

    • MongoDbAuthorizationCacheManager

      @Inject public MongoDbAuthorizationCacheManager(com.codahale.metrics.MetricRegistry registry)
  • Method Details

    • getCache

      public <K, V> org.apache.shiro.cache.Cache<K,V> getCache(String name) throws org.apache.shiro.cache.CacheException
      Specified by:
      getCache in interface org.apache.shiro.cache.CacheManager
      Throws:
      org.apache.shiro.cache.CacheException