Package ndg :: Package xacml :: Package core :: Module policy_combining_alg :: Class PolicyCombiningAlgInterface
[hide private]

Class PolicyCombiningAlgInterface

source code

object --+
         |
        PolicyCombiningAlgInterface
Known Subclasses:

Interface class for XAML policy combining algorithms

Instance Methods [hide private]
ndg.xacml.core.context.result.Decision
evaluate(self, policies, context)
Combine the results from evaluating policies or policy sets to make an access control decision.
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, policies, context)

source code 

Combine the results from evaluating policies or policy sets to make an access control decision. Derived classes must implement this method. This implementation returns indeterminate result.

Parameters:
  • policies (TypedList(<ndg.xacml.core.policybase.PolicyBase>)) - policies and/or policy sets. 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