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.


Constructor Index

 o PinballSecurityManager()
For extended classes.
 o PinballSecurityManager(String)
Start the security manager with the location of the output directory.

Method Index

 o checkAccept(String, int)
No network connections are allowed.
 o checkAccess(Thread)
 o checkAccess(ThreadGroup)
 o checkAwtEventQueueAccess()
No access to the event queue.
 o checkConnect(String, int)
No network connections are allowed.
 o checkConnect(String, int, Object)
No network connections are allowed.
 o checkCreateClassLoader()
 o checkDelete(String)
Deleting of files is not allowed.
 o checkExec(String)
No executing of commands.
 o checkExit(int)
 o checkLink(String)
Allow certain library files to load.
 o checkListen(int)
No network connections are allowed.
 o checkMemberAccess(Class, int)
 o checkMulticast(InetAddress)
No network connections are allowed.
 o checkMulticast(InetAddress, byte)
No network connections are allowed.
 o checkPackageAccess(String)
 o checkPackageDefinition(String)
 o checkPrintJobAccess()
No printing is allowed.
 o checkPropertiesAccess()
 o checkPropertyAccess(String)
 o checkPropertyAccess(String, String)
 o checkRead(FileDescriptor)
No file descriptors.
 o checkRead(String)
Only certain classes can read from certain directories.
 o checkRead(String, Object)
Only certain classes can read from certain directories.
 o checkSecurityAccess(String)
 o checkSetFactory()
 o checkSystemClipboardAccess()
Cannot use the clipboard.
 o checkTopLevelWindow(Object)
 o checkWrite(FileDescriptor)
Only certain classes can write to certain directories.
 o checkWrite(String)
Only certain classes can write to certain directories.

Constructors

 o PinballSecurityManager
 public PinballSecurityManager(String writeDirectory)
Start the security manager with the location of the output directory.

Parameters:
writeDirectory - where to write the output to.
 o PinballSecurityManager
 public PinballSecurityManager()
For extended classes.

Methods

 o checkCreateClassLoader
 public void checkCreateClassLoader()
Overrides:
checkCreateClassLoader in class SecurityManager
 o checkAccess
 public void checkAccess(Thread g)
Overrides:
checkAccess in class SecurityManager
 o checkAccess
 public void checkAccess(ThreadGroup g)
Overrides:
checkAccess in class SecurityManager
 o checkExit
 public void checkExit(int status)
Overrides:
checkExit in class SecurityManager
 o checkExec
 public void checkExec(String cmd)
No executing of commands.

Overrides:
checkExec in class SecurityManager
 o checkLink
 public void checkLink(String lib)
Allow certain library files to load.

Overrides:
checkLink in class SecurityManager
 o checkRead
 public void checkRead(FileDescriptor fd)
No file descriptors.

Overrides:
checkRead in class SecurityManager
 o checkRead
 public void checkRead(String file)
Only certain classes can read from certain directories.

Overrides:
checkRead in class SecurityManager
 o checkRead
 public void checkRead(String file,
                       Object context)
Only certain classes can read from certain directories.

Overrides:
checkRead in class SecurityManager
 o checkWrite
 public void checkWrite(FileDescriptor fd)
Only certain classes can write to certain directories.

Overrides:
checkWrite in class SecurityManager
 o checkWrite
 public void checkWrite(String file)
Only certain classes can write to certain directories.

Overrides:
checkWrite in class SecurityManager
 o checkDelete
 public void checkDelete(String file)
Deleting of files is not allowed.

Overrides:
checkDelete in class SecurityManager
 o checkConnect
 public void checkConnect(String host,
                          int port)
No network connections are allowed.

Overrides:
checkConnect in class SecurityManager
 o checkConnect
 public void checkConnect(String host,
                          int port,
                          Object context)
No network connections are allowed.

Overrides:
checkConnect in class SecurityManager
 o checkListen
 public void checkListen(int port)
No network connections are allowed.

Overrides:
checkListen in class SecurityManager
 o checkAccept
 public void checkAccept(String host,
                         int port)
No network connections are allowed.

Overrides:
checkAccept in class SecurityManager
 o checkMulticast
 public void checkMulticast(InetAddress maddr)
No network connections are allowed.

Overrides:
checkMulticast in class SecurityManager
 o checkMulticast
 public void checkMulticast(InetAddress maddr,
                            byte ttl)
No network connections are allowed.

Overrides:
checkMulticast in class SecurityManager
 o checkPropertiesAccess
 public void checkPropertiesAccess()
Overrides:
checkPropertiesAccess in class SecurityManager
 o checkPropertyAccess
 public void checkPropertyAccess(String key)
Overrides:
checkPropertyAccess in class SecurityManager
 o checkPropertyAccess
 public void checkPropertyAccess(String key,
                                 String def)
 o checkTopLevelWindow
 public boolean checkTopLevelWindow(Object window)
Overrides:
checkTopLevelWindow in class SecurityManager
 o checkPrintJobAccess
 public void checkPrintJobAccess()
No printing is allowed.

Overrides:
checkPrintJobAccess in class SecurityManager
 o checkSystemClipboardAccess
 public void checkSystemClipboardAccess()
Cannot use the clipboard.

Overrides:
checkSystemClipboardAccess in class SecurityManager
 o checkAwtEventQueueAccess
 public void checkAwtEventQueueAccess()
No access to the event queue.

Overrides:
checkAwtEventQueueAccess in class SecurityManager
 o checkPackageAccess
 public void checkPackageAccess(String pkg)
Overrides:
checkPackageAccess in class SecurityManager
 o checkPackageDefinition
 public void checkPackageDefinition(String pkg)
Overrides:
checkPackageDefinition in class SecurityManager
 o checkSetFactory
 public void checkSetFactory()
Overrides:
checkSetFactory in class SecurityManager
 o checkMemberAccess
 public void checkMemberAccess(Class clazz,
                               int which)
Overrides:
checkMemberAccess in class SecurityManager
 o checkSecurityAccess
 public void checkSecurityAccess(String provider)
Overrides:
checkSecurityAccess in class SecurityManager

All Packages  Class Hierarchy  This Package  Previous  Next  Index