Package org.apache.cassandra.auth
Class PermissionsCache
java.lang.Object
org.apache.cassandra.auth.AuthCache<Pair<AuthenticatedUser,IResource>,Set<Permission>>
org.apache.cassandra.auth.PermissionsCache
- All Implemented Interfaces:
AuthCacheMBean,PermissionsCacheMBean,Shutdownable
public class PermissionsCache
extends AuthCache<Pair<AuthenticatedUser,IResource>,Set<Permission>>
implements PermissionsCacheMBean
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.cassandra.auth.AuthCache
AuthCache.BulkLoader<K,V> -
Field Summary
Fields inherited from class org.apache.cassandra.auth.AuthCache
cache, MBEAN_NAME_BASEFields inherited from interface org.apache.cassandra.auth.PermissionsCacheMBean
CACHE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPermissions(AuthenticatedUser user, IResource resource) voidinvalidatePermissions(String roleName, String resourceName) Methods inherited from class org.apache.cassandra.auth.AuthCache
awaitTermination, get, getActiveUpdate, getAll, getEstimatedSize, getMaxEntries, getObjectName, getUpdateInterval, getValidity, init, initCache, invalidate, invalidate, isTerminated, setActiveUpdate, setMaxEntries, setUpdateInterval, setValidity, shutdown, shutdownAllAndWait, shutdownNow, unregisterMBean, warmMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cassandra.auth.AuthCacheMBean
getActiveUpdate, getEstimatedSize, getMaxEntries, getUpdateInterval, getValidity, invalidate, setActiveUpdate, setMaxEntries, setUpdateInterval, setValidity
-
Constructor Details
-
PermissionsCache
-
-
Method Details
-
getPermissions
-
invalidatePermissions
- Specified by:
invalidatePermissionsin interfacePermissionsCacheMBean
-