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

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@7287
Revision 7257, 2.0 KB checked in by pjkersha, 10 years ago (diff)

Incomplete - task 2: XACML-Security Integration

  • cleaning out more old modules containing retired NDG2 security functionality
  • progress with ndg.security.test.unit.wsgi.authz.test_authz unit tests integrating SAML/XACML authorisation service to WSGI filter SAML PEP
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.security.server.wsgi.authz.service:AuthorisationServiceMiddleware.filter_app_factory
40prefix = authz.
41authz.queryInterfaceKeyName = AUTHZ_DECISION_QUERY_FUNC
42authz.policyFilePath = %(here)s/policy.xml
43authz.xacmlContext.assertionLifetime = 86400
44
45# Logging configuration
46[loggers]
47keys = root, ndg
48
49[handlers]
50keys = console
51
52[formatters]
53keys = generic
54
55[logger_root]
56level = INFO
57handlers = console
58
59[logger_ndg]
60level = DEBUG
61handlers = 
62qualname = ndg
63
64[handler_console]
65class = StreamHandler
66args = (sys.stderr,)
67level = NOTSET
68formatter = generic
69
70[formatter_generic]
71format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
72datefmt = %Y/%m/%d %H:%M:%S
Note: See TracBrowser for help on using the repository browser.