Package ndg :: Package saml :: Package xml :: Module etree :: Class AuthzDecisionStatementElementTree
[hide private]

Class AuthzDecisionStatementElementTree

source code


ElementTree XML representation of AuthzDecisionStatement

Instance Methods [hide private]

Inherited from saml2.core.AuthzDecisionStatement: __getstate__, __init__, getOrderedChildren

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]
ElementTree.Element
toXML(cls, authzDecisionStatement)
Make a tree of a XML elements based on the authzDecision statement
source code
saml.saml2.core.AuthzDecisionStatement
fromXML(cls, elem)
Parse an ElementTree SAML AuthzDecisionStatement element into an AuthzDecisionStatement object
source code
Class Variables [hide private]

Inherited from saml2.core.AuthzDecisionStatement: DECISION_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, RESOURCE_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME

Properties [hide private]

Inherited from saml2.core.AuthzDecisionStatement: actions, decision, evidence, normalizeResource, resource, safeNormalizationChars

Inherited from common.SAMLObject: qname

Inherited from object: __class__

Method Details [hide private]

toXML(cls, authzDecisionStatement)
Class Method

source code 

Make a tree of a XML elements based on the authzDecision statement

Parameters:
  • authzDecisionStatement (saml.saml2.core.AuthzDecisionStatement) - AuthzDecision Statement to be represented as an ElementTree Element
Returns: ElementTree.Element
ElementTree Element
Overrides: common.SAMLObject.toXML

fromXML(cls, elem)
Class Method

source code 

Parse an ElementTree SAML AuthzDecisionStatement element into an AuthzDecisionStatement object

Parameters:
  • elem (ElementTree.Element) - ElementTree element containing the AuthzDecisionStatement
Returns: saml.saml2.core.AuthzDecisionStatement
AuthzDecision Statement
Overrides: common.SAMLObject.fromXML