Package ndg :: Package saml :: Package saml2 :: Module xacml_profile :: Class XACMLAuthzDecisionStatement
[hide private]

Class XACMLAuthzDecisionStatement

source code


SAML 2.0 XACML Profile XACMLAuthzDecisionQuery

Instance Methods [hide private]
 
__init__(self)
Create new authorisation decision statement
source code
dict
__getstate__(self)
Enable pickling
source code
ndg.xacml.core.context.request.Request
_getXacmlContextRequest(self)
Gets the XACML context Request child element.
source code
 
_setXacmlContextRequest(self, value)
Sets the XACML context Request child element.
source code
ndg.xacml.core.context.request.Response
_getXacmlContextResponse(self)
Gets the XACML context Response child element.
source code
 
_setXacmlContextResponse(self, value)
Sets the XACML context Response child element.
source code

Inherited from common.SAMLObject: __setstate__

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

Class Methods [hide private]

Inherited from common.SAMLObject: fromXML, toXML

Class Variables [hide private]
None DEFAULT_ELEMENT_LOCAL_NAME = "XACMLAuthzDecisionStatement"
default XML element name - derived classes must specify
ndg.saml.common.xml.QName DEFAULT_ELEMENT_NAME = QName(SAMLConstants.SAML2_XACML_ASSERTI...
Default element name
string TYPE_LOCAL_NAME = "XACMLAuthzDecisionStatementType"
Local name of the XSI type
ndg.saml.common.xml.QName TYPE_NAME = QName(SAMLConstants.SAML2_XACML_ASSERTION_NS, TYPE...
QName of the XSI type
  xacmlContextRequest = property(fget= _getXacmlContextRequest, ...
  xacmlContextResponse = property(fget= _getXacmlContextResponse...
Properties [hide private]

Inherited from common.SAMLObject: qname

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Create new authorisation decision statement

Parameters:
  • namespaceURI - the namespace the element is in
  • elementLocalName - the local name of the XML element this Object represents, defaults to DEFAULT_ELEMENT_LOCAL_NAME. Ensure that this is set to a valid string in derived classes rather the None base class setting
  • namespacePrefix - the prefix for the given namespace
Overrides: object.__init__

__getstate__(self)

source code 

Enable pickling

Returns: dict
object's attribute dictionary
Overrides: common.SAMLObject.__getstate__

_getXacmlContextRequest(self)

source code 

Gets the XACML context Request child element.

Returns: ndg.xacml.core.context.request.Request
Request value

_setXacmlContextRequest(self, value)

source code 

Sets the XACML context Request child element.

Parameters:
  • value (ndg.xacml.core.context.request.Request) - the new Request attribute value
Raises:
  • TypeError - if incorrect input type

_getXacmlContextResponse(self)

source code 

Gets the XACML context Response child element.

Returns: ndg.xacml.core.context.request.Response
Response value

_setXacmlContextResponse(self, value)

source code 

Sets the XACML context Response child element.

Parameters:
  • value (ndg.xacml.core.context.request.Response) - the new Response attribute value
Raises:
  • TypeError - if incorrect input type

Class Variable Details [hide private]

DEFAULT_ELEMENT_NAME

Default element name
Type:
ndg.saml.common.xml.QName
Value:
QName(SAMLConstants.SAML2_XACML_ASSERTION_NS, DEFAULT_ELEMENT_LOCAL_NA\
ME, SAMLConstants.SAML2_XACML_ASSERTION_PREFIX)

TYPE_NAME

QName of the XSI type
Type:
ndg.saml.common.xml.QName
Value:
QName(SAMLConstants.SAML2_XACML_ASSERTION_NS, TYPE_LOCAL_NAME, SAMLCon\
stants.SAML2_XACML_ASSERTION_PREFIX)

xacmlContextRequest

Value:
property(fget= _getXacmlContextRequest, fset= _setXacmlContextRequest,\
 doc= "XACML context Request")

xacmlContextResponse

Value:
property(fget= _getXacmlContextResponse, fset= _setXacmlContextRespons\
e, doc= "XACML context Response")