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

Class AttributeStatement

source code


SAML 2.0 Core AttributeStatement

Instance Methods [hide private]
 
__init__(self, **kw)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
dict
__getstate__(self)
Enable pickling
source code
ndg.saml.utils.TypedList
_get_attributes(self)
Returns: the attributes expressed in this statement
source code
ndg.saml.utils.TypedList
_get_encryptedAttributes(self)
Returns: the encrypted attribtues expressed in this statement
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 = 'AttributeStatement'
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 = 'AttributeStatementType'
Local name of the XSI type
ndg.saml.common.xml.QName TYPE_NAME = QName(SAMLConstants.SAML20_NS, TYPE_LOCAL_NAME, SA...
QName of the XSI type
Instance Variables [hide private]
ndg.saml.utils.TypedList __attributes
list of ndg.saml.saml2.core.Attribute type attributes
ndg.saml.utils.TypedList __encryptedAttributes
list of encrypted attributes of type ndg.saml.saml2.core.Attribute
Properties [hide private]
ndg.saml.utils.TypedList attributes
ndg.saml.utils.TypedList encryptedAttributes

Inherited from common.SAMLObject: qname

Inherited from object: __class__

Method Details [hide private]

__init__(self, **kw)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • kw (dict) - keywords Statement parent class instantiation
Overrides: object.__init__

__getstate__(self)

source code 

Enable pickling

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

_get_attributes(self)

source code 
Returns: ndg.saml.utils.TypedList
the attributes expressed in this statement

_get_encryptedAttributes(self)

source code 
Returns: ndg.saml.utils.TypedList
the encrypted attribtues expressed in this statement

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

QName of the XSI type
Type:
ndg.saml.common.xml.QName
Value:
QName(SAMLConstants.SAML20_NS, TYPE_LOCAL_NAME, SAMLConstants.SAML20_P\
REFIX)

Property Details [hide private]

attributes

Get Method:
_get_attributes(self) - Returns: the attributes expressed in this statement
Type:
ndg.saml.utils.TypedList

encryptedAttributes

Get Method:
_get_encryptedAttributes(self) - Returns: the encrypted attribtues expressed in this statement
Type:
ndg.saml.utils.TypedList