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

Class AbstractNameIDType

source code


Abstract implementation of NameIDType

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
string
_getValue(self)
Get name value
source code
 
_setValue(self, value)
Set name value
source code
string
_getNameQualifier(self)
Get name qualifier
source code
 
_setNameQualifier(self, value)
Set name qualifier
source code
string
_getSPNameQualifier(self)
Get SP name qualifier
source code
 
_setSPNameQualifier(self, value)
Set SP name qualifier
source code
string
_getFormat(self)
Get name format
source code
 
_setFormat(self, format)
Set name format
source code
string
_getSPProvidedID(self)
Get SP provided identifier
source code
 
_setSPProvidedID(self, value)
Set SP provided identifier
source code
tuple
getOrderedChildren(self)
Get attributes as a list - not currently implemented
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]
string SP_NAME_QUALIFIER_ATTRIB_NAME = 'SPNameQualifier'
SPNameQualifier attribute name.
string FORMAT_ATTRIB_NAME = 'Format'
Format attribute name.
string SPPROVIDED_ID_ATTRIB_NAME = 'SPProvidedID'
SPProviderID attribute name.
string UNSPECIFIED = 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspe...
URI for unspecified name format.
string EMAIL = 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress'
URI for email name format.
string X509_SUBJECT = 'urn:oasis:names:tc:SAML:1.1:nameid-format:X509...
URI for X509 subject name format.
string WIN_DOMAIN_QUALIFIED = 'urn:oasis:names:tc:SAML:1.1:nameid-for...
URI for windows domain qualified name name format.
string KERBEROS = 'urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos'
URI for kerberos name format.
string ENTITY = 'urn:oasis:names:tc:SAML:2.0:nameid-format:entity'
URI for SAML entity name format.
string PERSISTENT = 'urn:oasis:names:tc:SAML:2.0:nameid-format:persis...
URI for persistent name format.
string TRANSIENT = 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient'
URI for transient name format.
string ENCRYPTED = 'urn:oasis:names:tc:SAML:2.0:nameid-format:encrypted'
Special URI used by NameIDPolicy to indicate a NameID should be encrypted

Inherited from common.SAMLObject: DEFAULT_ELEMENT_LOCAL_NAME

Instance Variables [hide private]
string __format
Format of the Name ID.
string __name
Name of the Name ID.
string __nameQualifier
Name Qualifier of the Name ID.
string __spNameQualifier
SP Name Qualifier of the Name ID.
string __spProvidedID
SP ProvidedID of the NameID.
Properties [hide private]
  value
string value
  nameQualifier
Name qualifier
  spNameQualifier
SP Name qualifier
  format
Name format
  spProvidedID
SP Provided Identifier
  __value

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 to set attributes of parent class
Overrides: object.__init__

__getstate__(self)

source code 

Enable pickling

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

_getValue(self)

source code 

Get name value

Returns: string
name value

_setValue(self, value)

source code 

Set name value

Parameters:
  • value (string) - name value
Raises:
  • TypeError - invalid input value type

_getNameQualifier(self)

source code 

Get name qualifier

Returns: string
name qualifier

_setNameQualifier(self, value)

source code 

Set name qualifier

Parameters:
  • value (string) - name qualifier

_getSPNameQualifier(self)

source code 

Get SP name qualifier

Returns: string
SP name qualifier

_setSPNameQualifier(self, value)

source code 

Set SP name qualifier

Parameters:
  • value (string) - SP name qualifier

_getFormat(self)

source code 

Get name format

Returns: string
name format

_setFormat(self, format)

source code 

Set name format

Parameters:
  • format (string) - name format
Raises:
  • TypeError - invalid input value type

_getSPProvidedID(self)

source code 

Get SP provided identifier

Returns: string
SP provided identifier

_setSPProvidedID(self, value)

source code 

Set SP provided identifier

Parameters:
  • value (string) - SP provided identifier

getOrderedChildren(self)

source code 

Get attributes as a list - not currently implemented

Returns: tuple
list of object attribute values
Raises:
  • NotImplementedError - not implemented in this version

Class Variable Details [hide private]

UNSPECIFIED

URI for unspecified name format.
Type:
string
Value:
'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified'

X509_SUBJECT

URI for X509 subject name format.
Type:
string
Value:
'urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName'

WIN_DOMAIN_QUALIFIED

URI for windows domain qualified name name format.
Type:
string
Value:
'urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName'

PERSISTENT

URI for persistent name format.
Type:
string
Value:
'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent'

Property Details [hide private]

value

string value

Get Method:
_getValue(self) - Get name value
Set Method:
_setValue(self, value) - Set name value

nameQualifier

Name qualifier

Get Method:
_getNameQualifier(self) - Get name qualifier
Set Method:
_setNameQualifier(self, value) - Set name qualifier

spNameQualifier

SP Name qualifier

Get Method:
_getSPNameQualifier(self) - Get SP name qualifier
Set Method:
_setSPNameQualifier(self, value) - Set SP name qualifier

format

Name format

Get Method:
_getFormat(self) - Get name format
Set Method:
_setFormat(self, format) - Set name format

spProvidedID

SP Provided Identifier

Get Method:
_getSPProvidedID(self) - Get SP provided identifier
Set Method:
_setSPProvidedID(self, value) - Set SP provided identifier