Package org.apache.cassandra.security
Class SecurityThreadGroup
java.lang.Object
java.lang.ThreadGroup
org.apache.cassandra.security.SecurityThreadGroup
- All Implemented Interfaces:
Thread.UncaughtExceptionHandler
Used by
ThreadAwareSecurityManager to determine whether access-control checks needs to be performed.-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSecurityThreadGroup(String name, Set<String> allowedPackages, SecurityThreadGroup.ThreadInitializer threadInitializer) -
Method Summary
Methods inherited from class java.lang.ThreadGroup
activeCount, activeGroupCount, allowThreadSuspension, checkAccess, destroy, enumerate, enumerate, enumerate, enumerate, getMaxPriority, getName, getParent, interrupt, isDaemon, isDestroyed, list, parentOf, resume, setDaemon, setMaxPriority, stop, suspend, toString, uncaughtException
-
Constructor Details
-
SecurityThreadGroup
public SecurityThreadGroup(String name, Set<String> allowedPackages, SecurityThreadGroup.ThreadInitializer threadInitializer)
-
-
Method Details
-
initializeThread
public void initializeThread() -
isPackageAllowed
-