public class SandboxSecurityManager
extends java.lang.SecurityManager
Constructor and Description |
---|
SandboxSecurityManager() |
Modifier and Type | Method and Description |
---|---|
void |
checkPermission(java.security.Permission perm) |
void |
checkPermission(java.security.Permission perm,
java.lang.Object context) |
void |
checkRead(java.lang.String file) |
void |
checkRead(java.lang.String file,
java.lang.Object context) |
void |
setForbiddenReadPrefixes(java.lang.String[] forbidden) |
checkAccept, checkAccess, checkAccess, checkAwtEventQueueAccess, checkConnect, checkConnect, checkCreateClassLoader, checkDelete, checkExec, checkExit, checkLink, checkListen, checkMemberAccess, checkMulticast, checkMulticast, checkPackageAccess, checkPackageDefinition, checkPrintJobAccess, checkPropertiesAccess, checkPropertyAccess, checkRead, checkSecurityAccess, checkSetFactory, checkSystemClipboardAccess, checkTopLevelWindow, checkWrite, checkWrite, classDepth, classLoaderDepth, currentClassLoader, currentLoadedClass, getClassContext, getInCheck, getSecurityContext, getThreadGroup, inClass, inClassLoader
public void checkPermission(java.security.Permission perm)
checkPermission
in class java.lang.SecurityManager
public void checkPermission(java.security.Permission perm, java.lang.Object context)
checkPermission
in class java.lang.SecurityManager
public void checkRead(java.lang.String file)
checkRead
in class java.lang.SecurityManager
public void checkRead(java.lang.String file, java.lang.Object context)
checkRead
in class java.lang.SecurityManager
public void setForbiddenReadPrefixes(java.lang.String[] forbidden)