All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.antsr.core.NodeSecurityManager
java.lang.Object
   |
   +----java.lang.SecurityManager
           |
           +----edu.utah.janos.antsr.core.NodeSecurityManager

  Summary

class  NodeSecurityManager
     extends java.lang.SecurityManager
{
          // Fields 1
     private Class[] mediators;

          // Constructors 1
     protected NodeSecurityManager();

          // Methods 3
     void addMediator(Class);
     void checkCapsule();
     void checkCapsule(int);
}

Implements node security checks to constrain capsule access. Access to this class of offered to the Node via package protection.

Author:
David Wetherall




  Fields

· mediators

Summary  |  Top

   private Class[] mediators

List of classes that may mediate capsule access XXX Should this be a Vector?


  Constructors

· NodeSecurityManager

Summary  |  Top

   protected NodeSecurityManager() 

Construct a fresh node security manager with no restrictions



  Methods

· addMediator

Summary  |  Top
   void addMediator(Class cl) 

Adds a class to the list of classes that mediate capsule access

This is package access only.



· checkCapsule

Summary  |  Top
   void checkCapsule() 

Checks that, if an untrusted capsule call reached here, then the call site at which checkCapsule() was invoked passed through one of the known mediator classes. Assumes that all untrusted code is classloaded.

See Also: checkCapsule



· checkCapsule

Summary  |  Top
   void checkCapsule(int stackbase) 

aSame as checkCapsule(), but begins the search stackbase frames further up the stack.



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7