Package org.apache.cassandra.security
Class SecurityThreadGroup
- java.lang.Object
-
- java.lang.ThreadGroup
-
- org.apache.cassandra.security.SecurityThreadGroup
-
- All Implemented Interfaces:
java.lang.Thread.UncaughtExceptionHandler
public final class SecurityThreadGroup extends java.lang.ThreadGroupUsed byThreadAwareSecurityManagerto determine whether access-control checks needs to be performed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSecurityThreadGroup.ThreadInitializer
-
Constructor Summary
Constructors Constructor Description SecurityThreadGroup(java.lang.String name, java.util.Set<java.lang.String> allowedPackages, SecurityThreadGroup.ThreadInitializer threadInitializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitializeThread()booleanisPackageAllowed(java.lang.String pkg)-
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 Detail
-
SecurityThreadGroup
public SecurityThreadGroup(java.lang.String name, java.util.Set<java.lang.String> allowedPackages, SecurityThreadGroup.ThreadInitializer threadInitializer)
-
-