Package ndg :: Package xacml :: Package core :: Module rule_combining_alg :: Class RuleCombiningAlgInterface
[hide private]

Class RuleCombiningAlgInterface

source code

object --+
         |
        RuleCombiningAlgInterface
Known Subclasses:

Interface class for XAML rule combining algorithms

Instance Methods [hide private]
ndg.xacml.core.context.result.Decision
evaluate(self, rules, context)
Combine the input rule results to make an access control decision based.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

evaluate(self, rules, context)

source code 

Combine the input rule results to make an access control decision based. Derived classes must implement this method. This implementation returns indeterminate result.

Parameters:
  • rules (TypedList(<ndg.xacml.core.rule.Rule>)) - rules from the policy. Decisions from these will be put together into a single decision by this algorithm
  • context (ndg.xacml.core.request.Request) - request context to apply to the rules
Returns: ndg.xacml.core.context.result.Decision
resulting overall access control decision
Decorators:
  • @abstractmethod