|
||||||||||
| 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.PolicyEvaluatorPOA
|
+--gov.lanl.RAD.AbstractPolicyEvaluator
|
+--gov.lanl.RAD.Impl.PolicyEvaluatorImpl2
This implementation of PolicyEvaluator denies permission to access ResourceName by default

| Field Summary |
| Fields inherited from class gov.lanl.RAD.AbstractPolicyEvaluator |
name, orb, props |
| Constructor Summary | |
PolicyEvaluatorImpl2()
|
|
PolicyEvaluatorImpl2(java.lang.String name,
int accessFlag)
creates a named PolicyEvaluator implementation |
|
| Method Summary | |
org.omg.DfResourceAccessDecision.DecisionResult |
evaluate(org.omg.DfResourceAccessDecision.ResourceName resource_name,
java.lang.String operation,
org.omg.Security.SecAttribute[] attribute_list)
Always allows or denies permission to access resource_name |
java.lang.String |
getName()
get the type |
org.omg.DfResourceAccessDecision.PolicyEvaluatorAdmin |
pe_admin()
Returns null PolicyEvaluatorAdmin. |
void |
setPolicyEvaluatorAdmin(org.omg.DfResourceAccessDecision.PolicyEvaluatorAdmin pe)
Set the PolicyEvaluatorAdmin for this PolicyEvaluator |
void |
setProperties(java.lang.String file)
set the Properties and initialize |
| Methods inherited from class gov.lanl.RAD.AbstractPolicyEvaluator |
setName, setOrb |
| Methods inherited from class org.omg.DfResourceAccessDecision.PolicyEvaluatorPOA |
_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 PolicyEvaluatorImpl2()
public PolicyEvaluatorImpl2(java.lang.String name,
int accessFlag)
accessFlag - sets the ACCESS_DECISION flag
precondition accessFlag must be 0,1, or 2
DecisionResult:
ACCESS_DECISION_ALLOWED = 0
ACCESS_DECISION_NOT_ALLOWED = 1
ACCESS_DECISION_UNKNOWN = 2| Method Detail |
public org.omg.DfResourceAccessDecision.PolicyEvaluatorAdmin pe_admin()
public void setPolicyEvaluatorAdmin(org.omg.DfResourceAccessDecision.PolicyEvaluatorAdmin pe)
pe - public void setProperties(java.lang.String file)
setProperties in class AbstractPolicyEvaluatorfile - public java.lang.String getName()
public org.omg.DfResourceAccessDecision.DecisionResult evaluate(org.omg.DfResourceAccessDecision.ResourceName resource_name,
java.lang.String operation,
org.omg.Security.SecAttribute[] attribute_list)
resource_name - specifies the resource for which access permission
is requestedoperation - specifies the purpose(READ/ADD/EDIT) for which the
resource is requestedattribute_list - specifies the Requester's Security Attributes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||