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

Class XACMLAuthzDecisionQuery

source code


SAML 2.0 XACML Profile XACMLAuthzDecisionQuery

Instance Methods [hide private]
 
__init__(self)
Create new authorisation decision query
source code
dict
__getstate__(self)
Enable pickling
source code
bool
_getInputContextOnly(self)
Get the InputContextOnly attribute value of this query
source code
 
_setInputContextOnly(self, value)
Sets the InputContextOnly attribute value of this query.
source code
bool
_getReturnContext(self)
Get the ReturnContext attribute value of this query
source code
 
_setReturnContext(self, value)
Sets the ReturnContext attribute value of this query.
source code
 
_getXacmlContextRequest(self)
Gets the XACML context request.
source code
 
_setXacmlContextRequest(self, value)
Sets the XacmlContextRequest.
source code
tuple
getOrderedChildren(self)
Return attributes for this element as a tuple
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 = "XACMLAuthzDecisionQuery"
default XML element name - derived classes must specify
string DEFAULT_ELEMENT_NAME = QName(SAMLConstants.SAML2_XACML_PROTOCO...
Default element name.
string TYPE_LOCAL_NAME = "XACMLAuthzDecisionQueryType"
Local name of the XSI type.
ndg.saml.common.xml.QName TYPE_NAME = QName(SAMLConstants.SAML2_XACML_PROTOCOL_NS, TYPE_...
QName of the XSI type.
  INPUT_CONTEXT_ONLY_ATTRIB_NAME = "InputContextOnly"
string RETURN_CONTEXT_ATTRIB_NAME = "ReturnContext"
ReturnContext attribute name.

Inherited from core.RequestAbstractType: CONSENT_ATTRIB_NAME, DESTINATION_ATTRIB_NAME, EXPLICIT_CONSENT, ID_ATTRIB_NAME, IMPLICIT_CONSENT, INAPPLICABLE_CONSENT, ISSUE_INSTANT_ATTRIB_NAME, OBTAINED_CONSENT, PRIOR_CONSENT, UNAVAILABLE_CONSENT, UNSPECIFIED_CONSENT, VERSION_ATTRIB_NAME

Instance Variables [hide private]
bool inputContextOnly = property(fget= _getInputContextOnly, fset= ...
InputContextOnly attribute value.
bool returnContext = property(fget= _getReturnContext, fset= _setRe...
ReturnContext attribute value.
ndg.xacml.core.context.request.Request xacmlContextRequest = property(_getXacmlContextRequest, _setXa...
XACML context request
Properties [hide private]

Inherited from core.RequestAbstractType: consent, destination, extensions, id, issueInstant, issuer, version

Inherited from common.SAMLObject: qname

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Create new authorisation decision query

Parameters:
  • kw - see SAMLObject.__init__
Overrides: object.__init__

__getstate__(self)

source code 

Enable pickling

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

_getInputContextOnly(self)

source code 

Get the InputContextOnly attribute value of this query

Returns: bool
InputContextOnly value

_setInputContextOnly(self, value)

source code 

Sets the InputContextOnly attribute value of this query.

Parameters:
  • value (bool) - the new InputContextOnly attribute value
Raises:
  • TypeError - if incorrect input type

_getReturnContext(self)

source code 

Get the ReturnContext attribute value of this query

Returns: bool
ReturnContext value

_setReturnContext(self, value)

source code 

Sets the ReturnContext attribute value of this query.

Parameters:
  • value (bool) - the new ReturnContext attribute value
Raises:
  • TypeError - if incorrect input type

_getXacmlContextRequest(self)

source code 

Gets the XACML context request.

Returns:
XACML context request

_setXacmlContextRequest(self, value)

source code 

Sets the XacmlContextRequest.

Parameters:
  • value - XacmlContextRequest
Raises:
  • TypeError - input value is incorrect type

getOrderedChildren(self)

source code 

Return attributes for this element as a tuple

Returns: tuple
attributes for this element

Class Variable Details [hide private]

DEFAULT_ELEMENT_NAME

Default element name.
Type:
string
Value:
QName(SAMLConstants.SAML2_XACML_PROTOCOL_NS, DEFAULT_ELEMENT_LOCAL_NAM\
E, SAMLConstants.SAML2_XACML_PROTOCOL_PREFIX)

TYPE_NAME

QName of the XSI type.
Type:
ndg.saml.common.xml.QName
Value:
QName(SAMLConstants.SAML2_XACML_PROTOCOL_NS, TYPE_LOCAL_NAME, SAMLCons\
tants.SAML2_XACML_PROTOCOL_PREFIX)

Instance Variable Details [hide private]

inputContextOnly

InputContextOnly attribute value.
Type:
bool
Value:
property(fget= _getInputContextOnly, fset= _setInputContextOnly, doc= \
"Determines whether the decision is made " "using information in the d\
ecision query only " "- unused")

returnContext

ReturnContext attribute value.
Type:
bool
Value:
property(fget= _getReturnContext, fset= _setReturnContext, doc= "Deter\
mines whether the request context is" "response")

xacmlContextRequest

XACML context request
Type:
ndg.xacml.core.context.request.Request
Value:
property(_getXacmlContextRequest, _setXacmlContextRequest, doc= "XACML\
 context request")