edu.princeton.toy
Class TSecurityManager
java.lang.Object
java.lang.SecurityManager
edu.princeton.toy.TSecurityManager
public class TSecurityManager
- extends SecurityManager
TSecurityManager is a simple subclass of SecurityManager which allows all actions.
Methods inherited from class java.lang.SecurityManager |
checkAccept, checkAccess, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TSecurityManager
public TSecurityManager()
- Construct a TSecurityManager.
checkPermission
public void checkPermission(Permission perm)
- Overrides:
checkPermission
in class SecurityManager
checkPermission
public void checkPermission(Permission perm,
Object context)
- Overrides:
checkPermission
in class SecurityManager