Package org.graylog2.security
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 Summary
ConstructorDescriptionMongoDbAuthorizationCacheManager
(com.codahale.metrics.MetricRegistry registry) -
Method Summary
-
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 interfaceorg.apache.shiro.cache.CacheManager
- Throws:
org.apache.shiro.cache.CacheException
-