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
 
 
 
| 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 | 
 
PACKAGES_FORBIDDEN
public static final java.lang.String[] PACKAGES_FORBIDDEN
HostSecurityManager
public HostSecurityManager()
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:
 
 -  java.*
 
-  javax.*
 
-  sun.*
 
-  com.sun.*
 
-  com.orbs.pub.app.vaft.*
 
 
- 
- Overrides:
- checkPackageDefinition in class UntrustedSecurityManager