Package org.infinispan.security.actions
Class SecurityActions
java.lang.Object
org.infinispan.security.actions.SecurityActions
- Since:
- 15.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addCacheDependency
(EmbeddedCacheManager cacheManager, String from, String to) static void
addListener
(EmbeddedCacheManager cacheManager, Object listener) static CompletionStage
<Void> addListenerAsync
(EmbeddedCacheManager cacheManager, Object listener) static CompletionStage
<Void> addLoggerListenerAsync
(EmbeddedCacheManager ecm, Object listener) static <K,
V> AdvancedCache <K, V> anonymizeSecureCache
(AdvancedCache<K, V> cache) static <K> CompletionStage
<Boolean> cacheContainsKeyAsync
(AdvancedCache<K, ?> ac, K key) static void
checkPermission
(EmbeddedCacheManager cacheManager, AuthorizationPermission permission) static void
defineConfiguration
(EmbeddedCacheManager cacheManager, String cacheName, Configuration configurationOverride) static <A extends Cache<K,
V>, K, V>
AgetCache
(EmbeddedCacheManager cacheManager, String cacheName) static AuthorizationManager
getCacheAuthorizationManager
(AdvancedCache<?, ?> cache) static ComponentRegistry
getCacheComponentRegistry
(AdvancedCache<?, ?> cache) static Configuration
getCacheConfiguration
(AdvancedCache<?, ?> cache) static Configuration
getCacheConfiguration
(EmbeddedCacheManager cacheManager, String name) static CacheEntry
<String, String> getCacheEntry
(AdvancedCache<String, String> cache, String key) static <K,
V> CompletionStage <CacheEntry<K, V>> getCacheEntryAsync
(AdvancedCache<K, V> cache, K key) static GlobalConfiguration
getCacheManagerConfiguration
(EmbeddedCacheManager cacheManager) static ClusterExecutor
getClusterExecutor
(Cache<?, ?> cache) static ClusterExecutor
getClusterExecutor
(EmbeddedCacheManager cacheManager) static DistributionManager
getDistributionManager
(AdvancedCache<?, ?> cache) static EmbeddedCacheManager
getEmbeddedCacheManager
(AdvancedCache<?, ?> cache) static GlobalComponentRegistry
getGlobalComponentRegistry
(EmbeddedCacheManager cacheManager) static Health
getHealth
(EmbeddedCacheManager cacheManager) static <A extends Cache<K,
V>, K, V>
AgetOrCreateCache
(EmbeddedCacheManager cm, String configName, Configuration cfg) static Configuration
getOrCreateTemplate
(EmbeddedCacheManager cm, String configName, Configuration cfg) static org.infinispan.persistence.manager.PersistenceManager
getPersistenceManager
(EmbeddedCacheManager cacheManager, String cacheName) static org.infinispan.remoting.transport.raft.RaftManager
static <A extends Cache<K,
V>, K, V>
AgetUnwrappedCache
(Cache<K, V> cache) static <A extends Cache<K,
V>, K, V>
AgetUnwrappedCache
(EmbeddedCacheManager cacheManager, String cacheName) static CompletionStage
<Void> removeListenerAsync
(Listenable listenable, Object listener) static void
static void
stopManager
(EmbeddedCacheManager cacheManager) static void
undefineConfiguration
(EmbeddedCacheManager cacheManager, String name)
-
Constructor Details
-
SecurityActions
public SecurityActions()
-
-
Method Details
-
getEmbeddedCacheManager
-
getGlobalComponentRegistry
-
getCacheManagerConfiguration
-
getUnwrappedCache
-
getUnwrappedCache
public static <A extends Cache<K,V>, A getUnwrappedCacheK, V> (EmbeddedCacheManager cacheManager, String cacheName) -
defineConfiguration
public static void defineConfiguration(EmbeddedCacheManager cacheManager, String cacheName, Configuration configurationOverride) -
getCache
public static <A extends Cache<K,V>, A getCacheK, V> (EmbeddedCacheManager cacheManager, String cacheName) -
getCacheConfiguration
-
stopCache
-
getClusterExecutor
-
getClusterExecutor
-
checkPermission
public static void checkPermission(EmbeddedCacheManager cacheManager, AuthorizationPermission permission) -
getCacheComponentRegistry
-
undefineConfiguration
-
getCacheAuthorizationManager
-
addListener
-
removeListenerAsync
-
getCacheEntryAsync
public static <K,V> CompletionStage<CacheEntry<K,V>> getCacheEntryAsync(AdvancedCache<K, V> cache, K key) -
getCacheConfiguration
-
cacheContainsKeyAsync
-
addCacheDependency
-
getPersistenceManager
public static org.infinispan.persistence.manager.PersistenceManager getPersistenceManager(EmbeddedCacheManager cacheManager, String cacheName) -
getHealth
-
addLoggerListenerAsync
public static CompletionStage<Void> addLoggerListenerAsync(EmbeddedCacheManager ecm, Object listener) -
addListenerAsync
public static CompletionStage<Void> addListenerAsync(EmbeddedCacheManager cacheManager, Object listener) -
getCacheEntry
public static CacheEntry<String,String> getCacheEntry(AdvancedCache<String, String> cache, String key) -
getDistributionManager
-
anonymizeSecureCache
-
getOrCreateCache
public static <A extends Cache<K,V>, A getOrCreateCacheK, V> (EmbeddedCacheManager cm, String configName, Configuration cfg) -
getOrCreateTemplate
public static Configuration getOrCreateTemplate(EmbeddedCacheManager cm, String configName, Configuration cfg) -
stopManager
-
getRaftManager
public static org.infinispan.remoting.transport.raft.RaftManager getRaftManager(EmbeddedCacheManager ecm)
-