mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-17 01:31:01 +00:00
actively request the cache manager from the com.sap.sse.security Activator in SessionCacheManager
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user