abbot.script
Class AppletSecurityManager

java.lang.Object
java.lang.SecurityManager
sun.awt.AWTSecurityManager
sun.applet.AppletSecurity
abbot.script.AppletSecurityManager
- public class AppletSecurityManager
- extends sun.applet.AppletSecurity
This security manager extends sun.applet.AppletSecurity b/c
AppletViewer does some casts that assume that is the only security
manager that will be installed.
| Fields inherited from class sun.applet.AppletSecurity |
|
| Methods inherited from class sun.applet.AppletSecurity |
checkAccess, checkAccess, checkAwtEventQueueAccess, checkPackageAccess, getAppContext, getThreadGroup, inThreadGroup, inThreadGroup, reset |
| Methods inherited from class java.lang.SecurityManager |
checkAccept, checkConnect, checkConnect, checkCreateClassLoader, checkDelete, checkExec, checkExit, checkLink, checkListen, checkMemberAccess, checkMulticast, checkMulticast, checkPackageDefinition, checkPrintJobAccess, checkPropertiesAccess, checkPropertyAccess, checkRead, checkRead, checkRead, checkSecurityAccess, checkSetFactory, checkSystemClipboardAccess, checkTopLevelWindow, checkWrite, checkWrite, classDepth, classLoaderDepth, currentClassLoader, currentLoadedClass, getClassContext, getInCheck, getSecurityContext, inClass, inClassLoader |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppletSecurityManager
public AppletSecurityManager()
checkPermission
public void checkPermission(java.security.Permission perm,
java.lang.Object context)
- Description copied from class:
java.lang.SecurityManager
- Check if the current thread is allowed to perform an operation that
requires the specified
Permission. This is done in a
context previously returned by getSecurityContext(). The
default implementation expects context to be an AccessControlContext,
and it calls AccessControlContext.checkPermission(perm).
checkPermission
public void checkPermission(java.security.Permission perm)
- Description copied from class:
java.lang.SecurityManager
- Check if the current thread is allowed to perform an operation that
requires the specified
Permission. This defaults to
AccessController.checkPermission.