All Packages Class Hierarchy This Package Previous Next Index
Class pinball.PinballSecurityManager
java.lang.Object
|
+----java.lang.SecurityManager
|
+----pinball.PinballSecurityManager
- public class PinballSecurityManager
- extends SecurityManager
Used for the web submissions to restrict what people can do on the system.
-
PinballSecurityManager()
- For extended classes.
-
PinballSecurityManager(String)
-
Start the security manager with the location of the output directory.
-
checkAccept(String, int)
- No network connections are allowed.
-
checkAccess(Thread)
-
-
checkAccess(ThreadGroup)
-
-
checkAwtEventQueueAccess()
- No access to the event queue.
-
checkConnect(String, int)
- No network connections are allowed.
-
checkConnect(String, int, Object)
- No network connections are allowed.
-
checkCreateClassLoader()
-
-
checkDelete(String)
- Deleting of files is not allowed.
-
checkExec(String)
- No executing of commands.
-
checkExit(int)
-
-
checkLink(String)
- Allow certain library files to load.
-
checkListen(int)
- No network connections are allowed.
-
checkMemberAccess(Class, int)
-
-
checkMulticast(InetAddress)
- No network connections are allowed.
-
checkMulticast(InetAddress, byte)
- No network connections are allowed.
-
checkPackageAccess(String)
-
-
checkPackageDefinition(String)
-
-
checkPrintJobAccess()
- No printing is allowed.
-
checkPropertiesAccess()
-
-
checkPropertyAccess(String)
-
-
checkPropertyAccess(String, String)
-
-
checkRead(FileDescriptor)
- No file descriptors.
-
checkRead(String)
- Only certain classes can read from certain directories.
-
checkRead(String, Object)
- Only certain classes can read from certain directories.
-
checkSecurityAccess(String)
-
-
checkSetFactory()
-
-
checkSystemClipboardAccess()
- Cannot use the clipboard.
-
checkTopLevelWindow(Object)
-
-
checkWrite(FileDescriptor)
- Only certain classes can write to certain directories.
-
checkWrite(String)
- Only certain classes can write to certain directories.
PinballSecurityManager
public PinballSecurityManager(String writeDirectory)
- Start the security manager with the location of the output directory.
- Parameters:
- writeDirectory - where to write the output to.
PinballSecurityManager
public PinballSecurityManager()
- For extended classes.
checkCreateClassLoader
public void checkCreateClassLoader()
- Overrides:
- checkCreateClassLoader in class SecurityManager
checkAccess
public void checkAccess(Thread g)
- Overrides:
- checkAccess in class SecurityManager
checkAccess
public void checkAccess(ThreadGroup g)
- Overrides:
- checkAccess in class SecurityManager
checkExit
public void checkExit(int status)
- Overrides:
- checkExit in class SecurityManager
checkExec
public void checkExec(String cmd)
- No executing of commands.
- Overrides:
- checkExec in class SecurityManager
checkLink
public void checkLink(String lib)
- Allow certain library files to load.
- Overrides:
- checkLink in class SecurityManager
checkRead
public void checkRead(FileDescriptor fd)
- No file descriptors.
- Overrides:
- checkRead in class SecurityManager
checkRead
public void checkRead(String file)
- Only certain classes can read from certain directories.
- Overrides:
- checkRead in class SecurityManager
checkRead
public void checkRead(String file,
Object context)
- Only certain classes can read from certain directories.
- Overrides:
- checkRead in class SecurityManager
checkWrite
public void checkWrite(FileDescriptor fd)
- Only certain classes can write to certain directories.
- Overrides:
- checkWrite in class SecurityManager
checkWrite
public void checkWrite(String file)
- Only certain classes can write to certain directories.
- Overrides:
- checkWrite in class SecurityManager
checkDelete
public void checkDelete(String file)
- Deleting of files is not allowed.
- Overrides:
- checkDelete in class SecurityManager
checkConnect
public void checkConnect(String host,
int port)
- No network connections are allowed.
- Overrides:
- checkConnect in class SecurityManager
checkConnect
public void checkConnect(String host,
int port,
Object context)
- No network connections are allowed.
- Overrides:
- checkConnect in class SecurityManager
checkListen
public void checkListen(int port)
- No network connections are allowed.
- Overrides:
- checkListen in class SecurityManager
checkAccept
public void checkAccept(String host,
int port)
- No network connections are allowed.
- Overrides:
- checkAccept in class SecurityManager
checkMulticast
public void checkMulticast(InetAddress maddr)
- No network connections are allowed.
- Overrides:
- checkMulticast in class SecurityManager
checkMulticast
public void checkMulticast(InetAddress maddr,
byte ttl)
- No network connections are allowed.
- Overrides:
- checkMulticast in class SecurityManager
checkPropertiesAccess
public void checkPropertiesAccess()
- Overrides:
- checkPropertiesAccess in class SecurityManager
checkPropertyAccess
public void checkPropertyAccess(String key)
- Overrides:
- checkPropertyAccess in class SecurityManager
checkPropertyAccess
public void checkPropertyAccess(String key,
String def)
checkTopLevelWindow
public boolean checkTopLevelWindow(Object window)
- Overrides:
- checkTopLevelWindow in class SecurityManager
checkPrintJobAccess
public void checkPrintJobAccess()
- No printing is allowed.
- Overrides:
- checkPrintJobAccess in class SecurityManager
checkSystemClipboardAccess
public void checkSystemClipboardAccess()
- Cannot use the clipboard.
- Overrides:
- checkSystemClipboardAccess in class SecurityManager
checkAwtEventQueueAccess
public void checkAwtEventQueueAccess()
- No access to the event queue.
- Overrides:
- checkAwtEventQueueAccess in class SecurityManager
checkPackageAccess
public void checkPackageAccess(String pkg)
- Overrides:
- checkPackageAccess in class SecurityManager
checkPackageDefinition
public void checkPackageDefinition(String pkg)
- Overrides:
- checkPackageDefinition in class SecurityManager
checkSetFactory
public void checkSetFactory()
- Overrides:
- checkSetFactory in class SecurityManager
checkMemberAccess
public void checkMemberAccess(Class clazz,
int which)
- Overrides:
- checkMemberAccess in class SecurityManager
checkSecurityAccess
public void checkSecurityAccess(String provider)
- Overrides:
- checkSecurityAccess in class SecurityManager
All Packages Class Hierarchy This Package Previous Next Index