source: TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/config/attributeauthority/sitea/site-a.ini @ 7698

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg-security/TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/config/attributeauthority/sitea/site-a.ini@7698
Revision 7698, 2.9 KB checked in by pjkersha, 10 years ago (diff)

Integrated SAML ESGF Group/Role? attribute value type into SAML Attribute Authority client unit tests.

  • Property svn:keywords set to Id
Line 
1#
2# PasteDeploy ini file for Attribute Authority Unit tests Site A Server
3#
4# NERC Data Grid Project
5#
6# P J Kershaw 12/09/08
7#
8# Copyright (C) 2009 Science and Technology Facilities Council
9#
10# BSD - See LICENCE file for details
11
12[DEFAULT]
13attributeAuthorityEnvironKeyName = attribute-authority
14attributeQueryInterfaceEnvironKeyName = attributeQueryInterface
15
16[server:main]
17use = egg:Paste#http
18host = 0.0.0.0
19port = 5000
20
21[app:mainApp]
22paste.app_factory = ndg.security.test.config.attributeauthority.sitea.sitea_attributeauthority:app_factory
23
24# Chain of SOAP Middleware filters - Nb. WS-Security filters apply to the SOAP
25# Binding filter only.
26[pipeline:main]
27pipeline = AttributeAuthorityFilter
28                   AttributeAuthoritySamlSoapBindingFilter
29                   mainApp
30
31
32[filter:AttributeAuthorityFilter]
33paste.filter_app_factory = ndg.security.server.wsgi.attributeauthority:AttributeAuthorityMiddleware.filter_app_factory
34prefix = attributeAuthority.
35
36# Key name by which the WSDL SOAP based interface may reference this
37# service
38attributeAuthority.environKeyName = %(attributeAuthorityEnvironKeyName)s
39
40# Key name for the SAML SOAP binding based interface to reference this
41# service's attribute query method
42attributeAuthority.environKeyNameAttributeQueryInterface: %(attributeQueryInterfaceEnvironKeyName)s
43
44# Attribute Authority settings...
45
46# Lifetime is measured in seconds
47attributeAuthority.assertionLifetime: 28800 
48
49# Settings for custom AttributeInterface derived class to get user roles for given
50# user ID
51attributeAuthority.attributeInterface.modFilePath: %(here)s
52attributeAuthority.attributeInterface.className: sitea_attributeinterface.TestUserRoles
53
54# SAML SOAP Binding to the Attribute Authority
55[filter:AttributeAuthoritySamlSoapBindingFilter]
56paste.filter_app_factory = ndg.saml.saml2.binding.soap.server.wsgi.queryinterface:SOAPQueryInterfaceMiddleware.filter_app_factory
57prefix = saml.soapbinding.
58
59saml.soapbinding.deserialise = ndg.saml.xml.etree:AttributeQueryElementTree.fromXML
60
61# Specialisation to incorporate ESG Group/Role type
62saml.soapbinding.serialise = ndg.security.common.saml_utils.esgf.xml.etree:ESGFResponseElementTree.toXML
63
64saml.soapbinding.mountPath = /AttributeAuthority
65saml.soapbinding.queryInterfaceKeyName = %(attributeQueryInterfaceEnvironKeyName)s
66
67# Clock skew for SAML Attribute Queries - allow clockSkew number of seconds
68# tolerance for query issueInstant parameter. Set here to 3 minutes
69saml.soapbinding.clockSkewTolerance: 180.0
70
71saml.soapbinding.issuerName: /O=Site A/CN=Attribute Authority
72
73# Logging configuration
74[loggers]
75keys = root, ndg
76
77[handlers]
78keys = console
79
80[formatters]
81keys = generic
82
83[logger_root]
84level = INFO
85handlers = console
86
87[logger_ndg]
88level = DEBUG
89handlers = 
90qualname = ndg
91
92[handler_console]
93class = StreamHandler
94args = (sys.stderr,)
95level = NOTSET
96formatter = generic
97
98[formatter_generic]
99format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
100datefmt = %Y/%m/%d %H:%M:%S
Note: See TracBrowser for help on using the repository browser.