Contents | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS

Class com.orbs.pub.app.agent.vaft.security.HostSecurityManager

java.lang.Object
    |
    +----java.lang.SecurityManager
            |
            +----com.orbs.pub.app.agent.vaft.security.UntrustedSecurityManager
                    |
                    +----com.orbs.pub.app.agent.vaft.security.HostSecurityManager

public class HostSecurityManager
extends UntrustedSecurityManager

A subclass of UntrustedSecurityManager that overrides some restrictions.

Version:
1998-04-26
Author:
David W. Croft
See Also:
UntrustedSecurityManager

Field Summary
static java.lang.String[]  PACKAGES_FORBIDDEN
 
 
Fields inherited from class java.lang.SecurityManager
 inCheck
 

Constructor Summary
 HostSecurityManager()
 
 

Method Summary
void  checkPackageAccess(java.lang.String pkg)
Allows the agent to use classes from the packages "java.lang", "java.io", and the "vaft.*" hierarchy.
void  checkPackageDefinition(java.lang.String pkg)
Prevents any thread, trusted or untrusted, from creating new classes within the following package hierarchies:
  • java.*
  • javax.*
  • sun.*
  • com.sun.*
  • com.orbs.pub.app.vaft.*
 
Methods inherited from class com.orbs.pub.app.agent.vaft.security.UntrustedSecurityManager
 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, reject_untrusted
 
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
 

Field Detail

PACKAGES_FORBIDDEN

public static final java.lang.String[] PACKAGES_FORBIDDEN
Constructor Detail

HostSecurityManager

public HostSecurityManager()
Method Detail

checkPackageAccess

public void checkPackageAccess(java.lang.String pkg)
Allows the agent to use classes from the packages "java.lang", "java.io", and the "vaft.*" hierarchy. All other classes are forbidden.
Overrides:
checkPackageAccess in class UntrustedSecurityManager

checkPackageDefinition

public void checkPackageDefinition(java.lang.String pkg)
Prevents any thread, trusted or untrusted, from creating new classes within the following package hierarchies:
Overrides:
checkPackageDefinition in class UntrustedSecurityManager

Contents | Package | Class | Tree | Deprecated | Index | Help


Virtual Anarchy of Free Traders
PREV | NEXT SHOW LISTS | HIDE LISTS