actively request the cache manager from the com.sap.sse.security Activator in SessionCacheManager

This commit is contained in:
Axel Uhl committed 2014-10-09 14:08:00 +02:00
1 parent e7ead33e11
commit bb63f021ed
1 file changed
+1 -6
@@ -13,14 +13,9 @@ import org.apache.shiro.cache.CacheManager;
*
*/
public class SessionCacheManager implements CacheManager {
private final SecurityService securityService;
public SessionCacheManager() {
securityService = Activator.getSecurityService();
}
@Override
public <K, V> Cache<K, V> getCache(String name) throws CacheException {
final SecurityService securityService = Activator.getSecurityService();
if (securityService == null){
return null;
}