edu.nyu.cs.pdsg.runtime
Class ContainerPolicy

java.lang.Object
  extended byjava.security.Policy
      extended byedu.nyu.cs.pdsg.runtime.ContainerPolicy

public class ContainerPolicy
extends java.security.Policy


Field Summary
(package private) static java.security.PermissionCollection pc
           
(package private) static java.security.Policy self
           
 
Fields inherited from class java.security.Policy
 
Constructor Summary
ContainerPolicy()
           
 
Method Summary
 java.security.PermissionCollection getPermissions(java.security.CodeSource codesource)
           
 java.security.PermissionCollection getPermissions(java.security.ProtectionDomain domain)
           
static java.security.Policy GetPolicy()
           
 boolean implies(java.security.ProtectionDomain domain, java.security.Permission permission)
           
 void refresh()
           
static void setPolicy(java.security.Policy policy)
           
 
Methods inherited from class java.security.Policy
getPolicy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pc

static java.security.PermissionCollection pc

self

static java.security.Policy self
Constructor Detail

ContainerPolicy

public ContainerPolicy()
Method Detail

getPermissions

public java.security.PermissionCollection getPermissions(java.security.CodeSource codesource)

refresh

public void refresh()

getPermissions

public java.security.PermissionCollection getPermissions(java.security.ProtectionDomain domain)

GetPolicy

public static java.security.Policy GetPolicy()

implies

public boolean implies(java.security.ProtectionDomain domain,
                       java.security.Permission permission)

setPolicy

public static void setPolicy(java.security.Policy policy)


Copyright (c) 2002-2003 New York University RLAB