public class BambooSpecsSecurityManager extends SecurityManager
inCheck
Constructor and Description |
---|
BambooSpecsSecurityManager() |
Modifier and Type | Method and Description |
---|---|
void |
checkAccess(Thread t) |
void |
checkPermission(Permission perm) |
void |
checkPermission(Permission perm,
Object context) |
static void |
clearPermissionCheckers()
Clear the permission checkers used by the
BambooSpecsSecurityManager . |
static void |
setPermissionCheckers(Map<Thread,ThreadPermissionVerifier> specializedVerifiers,
ThreadPermissionVerifier defaultVerifier)
Set the permission checkers used by the
BambooSpecsSecurityManager . |
checkAccept, checkAccess, checkAwtEventQueueAccess, checkConnect, checkConnect, checkCreateClassLoader, checkDelete, checkExec, checkExit, checkLink, checkListen, checkMemberAccess, checkMulticast, checkMulticast, checkPackageAccess, checkPackageDefinition, checkPrintJobAccess, checkPropertiesAccess, checkPropertyAccess, checkRead, checkRead, checkRead, checkSecurityAccess, checkSetFactory, checkSystemClipboardAccess, checkTopLevelWindow, checkWrite, checkWrite, classDepth, classLoaderDepth, currentClassLoader, currentLoadedClass, getClassContext, getInCheck, getSecurityContext, getThreadGroup, inClass, inClassLoader
public void checkPermission(Permission perm)
checkPermission
in class SecurityManager
public void checkPermission(Permission perm, Object context)
checkPermission
in class SecurityManager
public void checkAccess(Thread t)
checkAccess
in class SecurityManager
public static void setPermissionCheckers(Map<Thread,ThreadPermissionVerifier> specializedVerifiers, ThreadPermissionVerifier defaultVerifier)
BambooSpecsSecurityManager
.specializedVerifiers
- map that associates threads to their specialized verifiers. The current thread will always be a high privilege thread and does not need to be added.defaultVerifier
- the checker used by default if no customised checker is foundpublic static void clearPermissionCheckers()
BambooSpecsSecurityManager
.Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.