|
|
|
|
|
initialise(self,
global_conf,
prefix='',
**app_conf)
Set attributes from keyword dictionaries global and or app_conf |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__call__(self,
environ,
start_response)
Check for and parse a SOAP SAML Attribute Query and return a SAML
Response |
source code
|
|
|
|
|
|
|
|
|
|
|
|
ndg.saml.saml2.core.Response
|
_initResponse(self)
Create a SAML Response object with basic settings if any have been
provided at initialisation of this class - see initialise |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
log = logging.getLogger('SOAPQueryInterfaceMiddleware')
|
|
basestring
|
PATH_OPTNAME = 'mountPath'
name of app_conf option for specifying a path or paths that this
middleware will intercept and process
|
|
basestring
|
QUERY_INTERFACE_KEYNAME_OPTNAME = 'queryInterfaceKeyName'
app_conf option name for key name used to reference the SAML query
interface in environ
|
|
|
DEFAULT_QUERY_INTERFACE_KEYNAME = 'ndg.security.server.wsgi.sa...
|
|
|
REQUEST_ENVELOPE_CLASS_OPTNAME = 'requestEnvelopeClass'
|
|
|
RESPONSE_ENVELOPE_CLASS_OPTNAME = 'responseEnvelopeClass'
|
|
|
SERIALISE_OPTNAME = 'serialise'
|
|
|
DESERIALISE_OPTNAME = 'deserialise'
|
|
|
DESERIALISE_XACML_PROFILE_OPTNAME = 'deserialiseXacmlProfile'
|
|
|
SAML_VERSION_OPTNAME = 'samlVersion'
|
|
|
ISSUER_NAME_OPTNAME = 'issuerName'
|
|
|
ISSUER_FORMAT_OPTNAME = 'issuerFormat'
|
|
|
CLOCK_SKEW_TOLERANCE_OPTNAME = 'clockSkewTolerance'
|
|
|
CONFIG_FILE_OPTNAMES = ('mountPath', 'queryInterfaceKeyName', ...
|
|
Inherited from soap.server.wsgi.middleware.SOAPMiddleware:
SOAP_ACTION_ENVIRON_KEYNAME,
SOAP_FAULT_SET_KEYNAME
|
|
|
serialise
callable to serialise request into XML type
|
|
|
deserialise
callable to de-serialise response from XML type
|
|
|
deserialiseXacmlProfile
callable to de-serialise response from XML type with XACML profile
|
|
|
issuer
Name of issuing authority
|
|
|
issuerFormat
Issuer format
|
|
|
issuerName
Name of issuer of SAML Query Response
|
|
|
verifyTimeConditions
Set to True to verify any time Conditions set in the returned
response assertions
|
|
|
verifySAMLVersion
Set to True to verify the SAML version set in the query against the
SAML Version set in the "samlVersion" attribute
|
|
|
clockSkewTolerance
Set a tolerance of +/- n seconds to allow for clock skew when
checking the timestamps of client queries
|
|
|
samlVersion
SAML Version to enforce for incoming queries.
|
|
|
mountPath
URL path to mount this application equivalent to environ['PATH_INFO']
(Nb.
|
|
|
queryInterfaceKeyName
environ key name for Attribute Query interface
|
|
Inherited from object:
__class__
|