1 | # |
---|
2 | # INI file for testing the SAML Authorisation Query interface. It uses a |
---|
3 | # test stub for the Authorisation Service rather than |
---|
4 | # ndg.security.server.wsgi.authzservice.AuthzServiceMiddleware. See, |
---|
5 | # authz-service.ini to compare |
---|
6 | # |
---|
7 | # The %(here)s variable will be replaced with the parent directory of this file |
---|
8 | # |
---|
9 | [DEFAULT] |
---|
10 | testConfigDir = ../../../config |
---|
11 | port = 5000 |
---|
12 | baseURI = localhost:%(port)s |
---|
13 | |
---|
14 | [server:main] |
---|
15 | use = egg:Paste#http |
---|
16 | host = 0.0.0.0 |
---|
17 | port = %(port)s |
---|
18 | |
---|
19 | [pipeline:main] |
---|
20 | pipeline = TestAuthorisationServiceFilter SAMLSoapAuthzDecisionInterfaceFilter TestApp |
---|
21 | |
---|
22 | [app:TestApp] |
---|
23 | paste.app_factory = ndg.security.test.unit.wsgi.saml:TestApp |
---|
24 | |
---|
25 | [filter:SAMLSoapAuthzDecisionInterfaceFilter] |
---|
26 | paste.filter_app_factory = ndg.security.server.wsgi.saml:SOAPQueryInterfaceMiddleware.filter_app_factory |
---|
27 | prefix = saml. |
---|
28 | saml.pathMatchList = /authorisationservice |
---|
29 | saml.queryInterfaceKeyName = AUTHZ_DECISION_QUERY_FUNC |
---|
30 | saml.deserialise = ndg.saml.xml.etree:AuthzDecisionQueryElementTree.fromXML |
---|
31 | saml.serialise = ndg.saml.xml.etree:ResponseElementTree.toXML |
---|
32 | saml.issuerName = /O=Test/OU=Authorisation Service |
---|
33 | saml.issuerFormat = urn:oasis:names:tc:SAML:1.1:nameid-format:x509SubjectName |
---|
34 | |
---|
35 | #______________________________________________________________________________ |
---|
36 | # Authorisation Service WSGI settings |
---|
37 | # |
---|
38 | [filter:TestAuthorisationServiceFilter] |
---|
39 | # This filter is a container for a binding to a SOAP based interface to the |
---|
40 | # Attribute Authority |
---|
41 | paste.filter_app_factory = ndg.security.test.unit.wsgi.saml.test_soapauthzdecisioninterface:TestAuthorisationServiceMiddleware |
---|
42 | queryInterfaceKeyName = AUTHZ_DECISION_QUERY_FUNC |
---|
43 | |
---|