com.softwareag.ino.sxs
Class SXSSecurityManager

java.lang.Object
  extended by java.lang.SecurityManager
      extended by com.softwareag.ino.sxs.SXSSecurityManager

public class SXSSecurityManager
extends java.lang.SecurityManager

The extension security manager restricts Java extensions from performing actions that may affect the availability of the JVM for other users.


Field Summary
static boolean isActive
          Is true if this security manager is active
 
Method Summary
 void checkPermission(java.security.Permission perm)
          Checks if this permission can be given to Java extensions.
 
Methods inherited from class java.lang.SecurityManager
checkAccept, checkAccess, checkAccess, checkAwtEventQueueAccess, checkConnect, checkConnect, checkCreateClassLoader, checkDelete, checkExec, checkExit, checkLink, checkListen, checkMemberAccess, checkMulticast, checkMulticast, checkPackageAccess, checkPackageDefinition, checkPermission, checkPrintJobAccess, checkPropertiesAccess, checkPropertyAccess, checkRead, checkRead, checkRead, checkSecurityAccess, checkSetFactory, checkSystemClipboardAccess, checkTopLevelWindow, checkWrite, checkWrite, getInCheck, getSecurityContext, getThreadGroup
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isActive

public static boolean isActive
Is true if this security manager is active

Method Detail

checkPermission

public void checkPermission(java.security.Permission perm)
                     throws java.lang.SecurityException
Checks if this permission can be given to Java extensions.

extensions must not exit the JVM, set the security manager, change standard IO streams, stop system threads and are not given security permissions (except getPolicy, getProperty, putProviderProperty and insertProvider which are allowed).

Overrides:
checkPermission in class java.lang.SecurityManager
Parameters:
perm - the permission to be checked
Throws:
java.lang.SecurityException - if the permission is not given to extensions