Package ndg :: Package saml :: Package saml2 :: Module core :: Class Advice
[hide private]

Class Advice

source code


SAML 2.0 Core Advice. Only the skeleton of this class is implemented

Instance Methods [hide private]
list
_getChildren(self, typeOrName=None)
Gets the list of all child elements attached to this advice.
source code
list
_getAssertionIDReferences(self)
Gets the list of AssertionID references used as advice.
source code
list
_getAssertionURIReferences(self)
Gets the list of AssertionURI references used as advice.
source code
list
_getAssertions(self)
Gets the list of Assertions used as advice.
source code
list
_getEncryptedAssertions(self)
Gets the list of EncryptedAssertions used as advice.
source code

Inherited from common.SAMLObject: __getstate__, __init__, __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 = 'Advice'
default XML element name - derived classes must specify
ndg.saml.common.xml.QName DEFAULT_ELEMENT_NAME = QName(SAMLConstants.SAML20_NS, DEFAULT_...
Default element name.
string TYPE_LOCAL_NAME = 'AdviceType'
Local name of the XSI type.
  TYPE_NAME = QName(SAMLConstants.SAML20_NS, TYPE_LOCAL_NAME, SA...
Properties [hide private]

Inherited from common.SAMLObject: qname

Inherited from object: __class__

Method Details [hide private]

_getChildren(self, typeOrName=None)

source code 

Gets the list of all child elements attached to this advice.

Returns: list
the list of all child elements attached to this advice
Raises:
  • NotImplementedError - not currently implemented

_getAssertionIDReferences(self)

source code 

Gets the list of AssertionID references used as advice.

Returns: list
the list of AssertionID references used as advice
Raises:
  • NotImplementedError - not currently implemented

_getAssertionURIReferences(self)

source code 

Gets the list of AssertionURI references used as advice.

Returns: list
the list of AssertionURI references used as advice
Raises:
  • NotImplementedError - not currently implemented

_getAssertions(self)

source code 

Gets the list of Assertions used as advice.

Returns: list
the list of Assertions used as advice
Raises:
  • NotImplementedError - not currently implemented

_getEncryptedAssertions(self)

source code 

Gets the list of EncryptedAssertions used as advice.

Returns: list
the list of EncryptedAssertions used as advice
Raises:
  • NotImplementedError - not currently implemented

Class Variable Details [hide private]

DEFAULT_ELEMENT_NAME

Default element name.
Type:
ndg.saml.common.xml.QName
Value:
QName(SAMLConstants.SAML20_NS, DEFAULT_ELEMENT_LOCAL_NAME, SAMLConstan\
ts.SAML20_PREFIX)

TYPE_NAME

Value:
QName(SAMLConstants.SAML20_NS, TYPE_LOCAL_NAME, SAMLConstants.SAML20_P\
REFIX)