gov.lanl.RAD.INMIS_Impl
Class PolicyEvaluatorImplUsers
java.lang.Object
|
+--org.omg.PortableServer.Servant
|
+--org.omg.DfResourceAccessDecision.PolicyEvaluatorPOA
|
+--gov.lanl.RAD.AbstractPolicyEvaluator
|
+--gov.lanl.RAD.INMIS_Impl.PolicyEvaluatorImplUsers
- All Implemented Interfaces:
- org.omg.CORBA.portable.InvokeHandler, org.omg.DfResourceAccessDecision.PolicyEvaluatorOperations
- public class PolicyEvaluatorImplUsers
- extends AbstractPolicyEvaluator
This implementation of PolicyEvaluator for INMIS users
-

|
Method Summary |
org.omg.DfResourceAccessDecision.DecisionResult |
evaluate(org.omg.DfResourceAccessDecision.ResourceName resource_name,
java.lang.String operation,
org.omg.Security.SecAttribute[] attribute_list)
Uses the allowOp method of the Users class to allow or deny the operation on the resource. |
org.omg.DfResourceAccessDecision.PolicyEvaluatorAdmin |
pe_admin()
Returns null PolicyEvaluatorAdmin |
void |
setProperties(java.lang.String file)
set the Properties file for configuration |
| 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 |
PolicyEvaluatorImplUsers
public PolicyEvaluatorImplUsers()
- Default constructor
setProperties
public void setProperties(java.lang.String file)
- Description copied from class:
AbstractPolicyEvaluator
- set the Properties file for configuration
- Overrides:
setProperties in class AbstractPolicyEvaluator
- Parameters:
file - to be read in with ResourceBundle
pe_admin
public org.omg.DfResourceAccessDecision.PolicyEvaluatorAdmin pe_admin()
- Returns null PolicyEvaluatorAdmin
evaluate
public org.omg.DfResourceAccessDecision.DecisionResult evaluate(org.omg.DfResourceAccessDecision.ResourceName resource_name,
java.lang.String operation,
org.omg.Security.SecAttribute[] attribute_list)
- Uses the allowOp method of the Users class to allow or deny the operation on the resource.
- Parameters:
resource_name - specifies the resource for which access permission
is requestedoperation - specifies operation requestedattribute_list - specifies the Requester's Security Attributes
- Returns:
- returns DecisionResult.ACCESS_DECISION_NOT_ALLOWED or DecisionResult.ACCESS_DECISION_ALLOWED