|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.omg.PortableServer.Servant
|
+--org.omg.DfResourceAccessDecision.AccessDecisionPOA
|
+--gov.lanl.RAD.AccessDecisionImpl
Implements the AccessDecision interface
| Constructor Summary | |
AccessDecisionImpl(org.omg.CORBA.ORB theOrb,
java.lang.String serverName,
java.util.Properties props)
Creates new PolicyEvaluator and DynamicAttributeService objects and keeps their references |
|
AccessDecisionImpl(java.util.Properties inServerProps)
Constructor used by gov.lanl.SSLTools.OMSession to start a rad with SSLTools support for the various security levels, including NONE |
|
| Method Summary | |
boolean |
access_allowed(org.omg.DfResourceAccessDecision.ResourceName resource_name,
java.lang.String Operation,
org.omg.Security.SecAttribute[] attribute_list)
|
void |
init()
Initialize the various CORBA objects |
static void |
main(java.lang.String[] argv)
Creates an AccessDecision object and then waits forever for operation requests which are invoked on the object |
boolean[] |
multiple_access_allowed(org.omg.DfResourceAccessDecision.AccessDefinition[] access_def,
org.omg.Security.SecAttribute[] attribute_list)
|
static void |
setNameService(gov.lanl.Utility.NameService nameService)
set the NameService object |
| Methods inherited from class org.omg.DfResourceAccessDecision.AccessDecisionPOA |
_all_interfaces, _invoke, _this, _this |
| Methods inherited from class org.omg.PortableServer.Servant |
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AccessDecisionImpl(java.util.Properties inServerProps)
inServerProps - is the properties file read by OMSession, needs
a reference for the config file for rad (RADCONFIGFILE)
public AccessDecisionImpl(org.omg.CORBA.ORB theOrb,
java.lang.String serverName,
java.util.Properties props)
| Method Detail |
public void init()
public static void setNameService(gov.lanl.Utility.NameService nameService)
nameService - object to be set
public boolean[] multiple_access_allowed(org.omg.DfResourceAccessDecision.AccessDefinition[] access_def,
org.omg.Security.SecAttribute[] attribute_list)
access_def - is a set of resource-operation pairsattribute_list - is the list of attributes corresponding to the user
public boolean access_allowed(org.omg.DfResourceAccessDecision.ResourceName resource_name,
java.lang.String Operation,
org.omg.Security.SecAttribute[] attribute_list)
resource_name - is the name of the resource that is being requestedOperation - defines whether the resource is requested for
READ/ADD/EDITattribute_list - contains the users attributes based on which the
access decision is made
public static void main(java.lang.String[] argv)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||