Package ndg :: Package xacml :: Package finder :: Module localpolicyfinder :: Class LocalPolicyFinder
[hide private]

Class LocalPolicyFinder

source code

                       object --+    
                                |    
policyfinderbase.PolicyFinderBase --+
                                    |
                                   LocalPolicyFinder

Policy and Policy Set finder that only resolves references to already parsed Polices and Policy Sets.

Nested Classes [hide private]

Inherited from policyfinderbase.PolicyFinderBase: __metaclass__

Instance Methods [hide private]
ndg.xacml.core.policy.Policy
findPolicy(self, policyIdReference, common)
Retrieves a policy for a specified policy ID.
source code
ndg.xacml.core.policy.PolicySet
findPolicySet(self, policySetIdReference, common)
Retrieves a policy set for a specified policy set ID.
source code

Inherited from policyfinderbase.PolicyFinderBase: __init__, addPolicyReference, addPolicySetReference, setReader

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

Class Variables [hide private]
  __abstractmethods__ = frozenset([])
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

findPolicy(self, policyIdReference, common)

source code 

Retrieves a policy for a specified policy ID.

Parameters:
  • policyIdReference (str) - policy ID reference
  • common (from ndg.xacml.parsers.common.Common) - parsing common data
Returns: ndg.xacml.core.policy.Policy
policy
Raises:
Overrides: policyfinderbase.PolicyFinderBase.findPolicy

findPolicySet(self, policySetIdReference, common)

source code 

Retrieves a policy set for a specified policy set ID.

Parameters:
  • policySetIdReference (str) - policy set ID reference
  • common (from ndg.xacml.parsers.common.Common) - parsing common data
Returns: ndg.xacml.core.policy.PolicySet
policy set
Raises:
Overrides: policyfinderbase.PolicyFinderBase.findPolicySet