public final class SecurityThreadGroup
extends java.lang.ThreadGroup
ThreadAwareSecurityManager
to determine whether access-control checks needs to be performed.Modifier and Type | Class and Description |
---|---|
static interface |
SecurityThreadGroup.ThreadInitializer |
Constructor and Description |
---|
SecurityThreadGroup(java.lang.String name,
java.util.Set<java.lang.String> allowedPackages,
SecurityThreadGroup.ThreadInitializer threadInitializer) |
Modifier and Type | Method and Description |
---|---|
void |
initializeThread() |
boolean |
isPackageAllowed(java.lang.String pkg) |
activeCount, activeGroupCount, allowThreadSuspension, checkAccess, destroy, enumerate, enumerate, enumerate, enumerate, getMaxPriority, getName, getParent, interrupt, isDaemon, isDestroyed, list, parentOf, resume, setDaemon, setMaxPriority, stop, suspend, toString, uncaughtException
public SecurityThreadGroup(java.lang.String name, java.util.Set<java.lang.String> allowedPackages, SecurityThreadGroup.ThreadInitializer threadInitializer)
Copyright © 2009-2021 The Apache Software Foundation