Package ndg :: Package xacml :: Package core :: Module obligation :: Class Obligation
[hide private]

Class Obligation

source code

   object --+    
            |    
XacmlCoreBase --+
                |
               Obligation

XACML Obligation type

Instance Methods [hide private]
 
__init__(self)
Initialise attributes
source code

Inherited from XacmlCoreBase: __getstate__

Inherited from XacmlCoreBase (private): _getXmlns, _setXmlns

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

Class Variables [hide private]
NoneType but implement as string in derived classes ELEMENT_LOCAL_NAME = 'Obligation'
XML element local name for the given type
string ATTRIBUTE_ASSIGNMENTS_ELEMENT_LOCAL_NAME = 'AttributeAssignment'
attribute assignments XML attribute name
  FULFILLON_ELEMENT_LOCAL_NAME = 'FulfillOn'
string OBLIGATION_ID_ATTRIB_NAME = 'ObligationId'
obligation ID XML attribute name

Inherited from XacmlCoreBase: XACML_1_0_NS_PREFIX, XACML_2_0_NS_PREFIX, XMLNS

Instance Variables [hide private]
ndg.xacml.utils.TypedList __attributeAssignments
list of attribute assignments
NoneType / basestring __fulfillOn
fulfil on condition
NoneType / basestring __obligationId
obligation id
Properties [hide private]
ndg.xacml.utils.TypedList attributeAssignments
Obligation attribute assignments
NoneType / basestring obligationId
obligation Id
NoneType / basestring fulfillOn
Fulfill obligation on the given effect Permit/Deny

Inherited from XacmlCoreBase: elem, isValidXmlns, xmlns

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Initialise attributes

Raises:
  • NotImplementedError - derived classes must set ELEMENT_LOCAL_NAME to a string
Overrides: object.__init__

Property Details [hide private]

attributeAssignments

Obligation attribute assignments

Get Method:
unreachable.attributeAssignments(self) - Obligation attribute assignments
Type:
ndg.xacml.utils.TypedList

obligationId

obligation Id

Get Method:
unreachable.obligationId(self) - obligation Id
Set Method:
unreachable.obligationId(self, value) - obligation Id
Type:
NoneType / basestring

fulfillOn

Fulfill obligation on the given effect Permit/Deny

Get Method:
unreachable.fulfillOn(self) - Fulfill obligation on the given effect Permit/Deny
Set Method:
unreachable.fulfillOn(self, value) - Fulfill obligation on the given effect Permit/Deny
Type:
NoneType / basestring