|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.SecurityManager wyvern.world.WyvernSecurityManager
Checks permissions before executing code. Ensures wizards don't try to do naughty things in their java & python code.
Field Summary |
Fields inherited from class java.lang.SecurityManager |
inCheck |
Constructor Summary | |
WyvernSecurityManager()
|
Method Summary | |
void |
checkPermission(java.security.Permission perm)
Throws a SecurityException if the requested
access, specified by the given permission, is not permitted based
on the security policy currently in effect. |
void |
checkPermission(java.security.Permission perm,
java.lang.Object context)
Throws an exception if wizard code is trying to access a protected resource. |
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 |
Constructor Detail |
public WyvernSecurityManager()
Method Detail |
public void checkPermission(java.security.Permission perm)
SecurityException
if the requested
access, specified by the given permission, is not permitted based
on the security policy currently in effect.
public void checkPermission(java.security.Permission perm, java.lang.Object context)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |