source: TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/config/authorisationservice/authorisation-service.ini @ 7168

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/config/authorisationservice/authorisation-service.ini@7168
Revision 7168, 1.9 KB checked in by pjkersha, 9 years ago (diff)

Incomplete - task 2: XACML-Security Integration

  • testing ndg.security.server.wsgi.authz.pep.SamlPepMiddleware? in ndg.security.test.unit.authz.test_authz
Line 
1#
2# INI file for testing the SAML Authorisation Query interface.  It uses a
3# test stub for the Authorisation Service
4#
5# The %(here)s variable will be replaced with the parent directory of this file
6#
7[DEFAULT]
8testConfigDir = ../../../config
9port = 5000
10baseURI = localhost:%(port)s
11
12[server:main]
13use = egg:Paste#http
14host = 0.0.0.0
15port = %(port)s
16
17[pipeline:main]
18pipeline = TestAuthorisationServiceFilter SAMLSoapAuthzDecisionInterfaceFilter TestApp
19
20[app:TestApp]
21paste.app_factory = ndg.saml.test.binding.soap:TestApp
22
23[filter:SAMLSoapAuthzDecisionInterfaceFilter]
24paste.filter_app_factory = ndg.saml.saml2.binding.soap.server.wsgi.queryinterface:SOAPQueryInterfaceMiddleware.filter_app_factory
25prefix = saml.
26saml.mountPath = /authorisation-service
27saml.queryInterfaceKeyName = AUTHZ_DECISION_QUERY_FUNC
28saml.deserialise = ndg.saml.xml.etree:AuthzDecisionQueryElementTree.fromXML
29saml.serialise = ndg.saml.xml.etree:ResponseElementTree.toXML
30saml.issuerName = /O=Test/OU=Authorisation Service
31saml.issuerFormat = urn:oasis:names:tc:SAML:1.1:nameid-format:x509SubjectName
32
33#______________________________________________________________________________
34# Authorisation Service WSGI settings
35#
36[filter:TestAuthorisationServiceFilter]
37# This filter is a container for a binding to a SOAP based interface to the
38# Attribute Authority
39paste.filter_app_factory = ndg.saml.test.binding.soap.test_authzservice:TestAuthorisationServiceMiddleware
40queryInterfaceKeyName = AUTHZ_DECISION_QUERY_FUNC
41
42# Logging configuration
43[loggers]
44keys = root, ndg
45
46[handlers]
47keys = console
48
49[formatters]
50keys = generic
51
52[logger_root]
53level = INFO
54handlers = console
55
56[logger_ndg]
57level = DEBUG
58handlers = 
59qualname = ndg
60
61[handler_console]
62class = StreamHandler
63args = (sys.stderr,)
64level = NOTSET
65formatter = generic
66
67[formatter_generic]
68format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
69datefmt = %Y/%m/%d %H:%M:%S
Note: See TracBrowser for help on using the repository browser.