source: TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/wsgi/saml/authz-decision-interface.ini @ 6578

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg-security/TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/wsgi/saml/authz-decision-interface.ini@6578
Revision 6578, 1.3 KB checked in by pjkersha, 11 years ago (diff)
  • Important fix for SOAP client used with SAML SOAP binding: set text/xml content type.
  • Refactored SAML SOAP binding query clients.
Line 
1#
2# SSL Client AuthN WSGI Testing environment configuration
3#
4# The %(here)s variable will be replaced with the parent directory of this file
5#
6[DEFAULT]
7testConfigDir = ../../../config
8port = 5000
9baseURI = localhost:%(port)s
10
11[server:main]
12use = egg:Paste#http
13host = 0.0.0.0
14port = %(port)s
15
16[pipeline:main]
17pipeline = TestAuthorisationServiceFilter SAMLSoapAuthzDecisionInterfaceFilter TestApp
18
19[app:TestApp]
20paste.app_factory = ndg.security.test.unit.wsgi.saml:TestApp
21
22[filter:SAMLSoapAuthzDecisionInterfaceFilter]
23paste.filter_app_factory = ndg.security.server.wsgi.saml:SOAPQueryInterfaceMiddleware.filter_app_factory
24prefix = saml.
25saml.pathMatchList = /authorisationservice
26saml.queryInterfaceKeyName = AUTHZ_DECISION_QUERY_FUNC
27saml.deserialise = saml.xml.etree:AuthzDecisionQueryElementTree.fromXML
28saml.serialise = saml.xml.etree:ResponseElementTree.toXML
29
30#______________________________________________________________________________
31# Authorisation Service WSGI settings
32#
33[filter:TestAuthorisationServiceFilter]
34# This filter is a container for a binding to a SOAP based interface to the
35# Attribute Authority
36paste.filter_app_factory = ndg.security.test.unit.wsgi.saml.test_soapauthzdecisioninterface:TestAuthorisationServiceMiddleware
37queryInterfaceKeyName = AUTHZ_DECISION_QUERY_FUNC
Note: See TracBrowser for help on using the repository browser.