Package org.infinispan.security.impl
Class GlobalSecurityManagerImpl
java.lang.Object
org.infinispan.security.impl.GlobalSecurityManagerImpl
- All Implemented Interfaces:
GlobalSecurityManager
@MBean(objectName="GlobalSecurityManager",
description="Controls global ACL caches")
public class GlobalSecurityManagerImpl
extends Object
implements GlobalSecurityManager
GlobalSecurityManagerImpl. Initialize the global ACL cache.
- Since:
- 8.1
- Author:
- Tristan Tarrant
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionFlushes the ACL cache for this nodevoid
Map
<?, ?> Returns the global ACL cachevoid
init
(GlobalConfiguration globalConfiguration, EmbeddedCacheManager embeddedCacheManager, Authorizer authorizer)
-
Constructor Details
-
GlobalSecurityManagerImpl
public GlobalSecurityManagerImpl()
-
-
Method Details
-
init
public void init(GlobalConfiguration globalConfiguration, EmbeddedCacheManager embeddedCacheManager, Authorizer authorizer) -
globalACLCache
Description copied from interface:GlobalSecurityManager
Returns the global ACL cache- Specified by:
globalACLCache
in interfaceGlobalSecurityManager
-
flushGlobalACLCache
@ManagedOperation(name="Flush ACL Cache", displayName="Flush ACL Cache", description="Flushes the global ACL cache across the entire cluster") public CompletionStage<Void> flushGlobalACLCache()Description copied from interface:GlobalSecurityManager
Flushes the ACL cache for this node- Specified by:
flushGlobalACLCache
in interfaceGlobalSecurityManager
- Returns:
-
flushLocalACLCache
public void flushLocalACLCache()- Specified by:
flushLocalACLCache
in interfaceGlobalSecurityManager
-