Package ndg :: Package saml :: Package test :: Package binding :: Package soap :: Module test_attributeservice :: Class TestAttributeServiceMiddleware
[hide private]

Class TestAttributeServiceMiddleware

source code


Test Attribute Service interface stub

Instance Methods [hide private]
 
__init__(self, app, global_conf, **app_conf)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__call__(self, environ, start_response) source code
 
attributeQueryFactory(self)
Makes the attribute query method
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  QUERY_INTERFACE_KEYNAME_OPTNAME = 'queryInterfaceKeyName'
  ISSUER_DN = '/O=Test/OU=Attribute Service/CN=Service Stub'
  FIRSTNAME_ATTRNAME = 'urn:ndg:saml:firstname'
  LASTNAME_ATTRNAME = 'urn:ndg:saml:lastname'
  EMAILADDRESS_ATTRNAME = 'urn:ndg:saml:emailaddress'
  VALID_QUERY_ISSUERS = ('/O=Site A/CN=Authorisation Service', '...
  VALID_SUBJECTS = ('https://openid.localhost/philip.kershaw')
  VALID_ATTR_NAME_URIS = ('urn:ndg:saml:firstname', 'urn:ndg:sam...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, app, global_conf, **app_conf)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

VALID_QUERY_ISSUERS

Value:
('/O=Site A/CN=Authorisation Service',
 '/O=Site B/CN=Authorisation Service')

VALID_ATTR_NAME_URIS

Value:
('urn:ndg:saml:firstname',
 'urn:ndg:saml:lastname',
 'urn:ndg:saml:emailaddress')