edu.nyu.cs.pdsg.runtime
Class GenericHostPermissionsAdaptor

java.lang.Object
  extended byedu.nyu.cs.pdsg.runtime.GenericHostPermissionsAdaptor
All Implemented Interfaces:
PermissionsAdaptor

public class GenericHostPermissionsAdaptor
extends java.lang.Object
implements PermissionsAdaptor

This class maps dRBAC Attributes to the following Java permissions: "java.security.AllPermission" "java.security.SecurityPermission" "java.security.UnresolvedPermission" "java.awt.AWTPermission" "java.io.FilePermission" "java.io.SerializablePermission" "java.lang.reflect.ReflectPermission" "java.lang.RuntimePermission" "java.net.NetPermission" "java.net.SocketPermission" "java.sql.SQLPermission" "java.util.PropertyPermission" "java.util.logging.LoggingPermission" "javax.net.ssl.SSLPermission" "javax.security.auth.AuthPermission" "javax.security.auth.PrivateCredentialPermission" "javax.security.auth.kerberos.DelegationPermission" "javax.security.auth.kerberos.ServicePermission" "javax.sound.sampled.AudioPermission" It also serves as AuthorizationMonitorCallback for the permissions to a given class.


Field Summary
(package private)  java.util.HashSet allPerms
           
(package private)  java.util.Hashtable permissionToAttributeMap
           
(package private)  java.util.HashMap permToRoleName
           
(package private)  java.util.HashMap roleNameToPerm
           
 
Constructor Summary
GenericHostPermissionsAdaptor()
           
 
Method Summary
 java.util.Enumeration elements(DrbacAuthorizationMonitor authMon)
          Returns an enumeration of all the Permission objects in the collection.
 boolean implies(DrbacAuthorizationMonitor authMon, java.security.Permission requestP)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

permissionToAttributeMap

java.util.Hashtable permissionToAttributeMap

allPerms

java.util.HashSet allPerms

roleNameToPerm

java.util.HashMap roleNameToPerm

permToRoleName

java.util.HashMap permToRoleName
Constructor Detail

GenericHostPermissionsAdaptor

public GenericHostPermissionsAdaptor()
Method Detail

implies

public boolean implies(DrbacAuthorizationMonitor authMon,
                       java.security.Permission requestP)
Specified by:
implies in interface PermissionsAdaptor

elements

public java.util.Enumeration elements(DrbacAuthorizationMonitor authMon)
Returns an enumeration of all the Permission objects in the collection.

Specified by:
elements in interface PermissionsAdaptor


Copyright (c) 2002-2003 New York University RLAB