source: TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/wsgi/attributeauthority/test.ini @ 7698

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg-security/TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/wsgi/attributeauthority/test.ini@7698
Revision 7698, 2.1 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# AuthN WSGI Testing environment configuration
3#
4# The %(here)s variable will be replaced with the parent directory of this file
5#
6[DEFAULT]
7attributeQueryInterfaceEnvironKeyName = attributeQueryInterface
8
9[server:main]
10use = egg:Paste#http
11host = 0.0.0.0
12port = 5000
13
14[pipeline:main]
15pipeline = AttributeAuthorityFilter TestApp
16
17[app:TestApp]
18paste.app_factory = ndg.security.test.unit.wsgi.attributeauthority.test_attributeauthority:TestAttributeAuthorityApp
19
20[filter:AttributeAuthorityFilter]
21paste.filter_app_factory = ndg.security.server.wsgi.attributeauthority:AttributeAuthorityMiddleware.filter_app_factory
22prefix = attributeAuthority.
23
24attributeAuthority.environKeyName = myAttributeAuthority
25
26# Key name for the SAML SOAP binding based interface to reference this
27# service's attribute query method
28attributeAuthority.environKeyNameAttributeQueryInterface: %(attributeQueryInterfaceEnvironKeyName)s
29
30# Attribute Authority settings...
31
32# Lifetime is measured in seconds
33attributeAuthority.assertionLifetime: 28800 
34
35# Settings for custom AttributeInterface derived class to get user roles for given
36# user ID
37attributeAuthority.attributeInterface.modFilePath: %(here)s
38attributeAuthority.attributeInterface.className: ndg.security.test.config.attributeauthority.sitea.sitea_attributeinterface.TestUserRoles
39
40# SAML SOAP Binding to the Attribute Authority
41[filter:AttributeAuthoritySamlSoapBindingFilter]
42paste.filter_app_factory = ndg.security.server.wsgi.saml:SOAPQueryInterfaceMiddleware.filter_app_factory
43prefix = saml.soapbinding.
44
45saml.soapbinding.deserialise = ndg.saml.xml.etree:AttributeQueryElementTree.fromXML
46
47# Specialisation to incorporate ESG Group/Role type
48saml.soapbinding.serialise = ndg.security.common.saml_utils.esgf.xml.etree:ESGFResponseElementTree.toXML
49
50saml.soapbinding.pathMatchList = /AttributeAuthority
51saml.soapbinding.queryInterfaceKeyName = %(attributeQueryInterfaceEnvironKeyName)s
52
53# Clock skew for SAML Attribute Queries - allow clockSkew number of seconds
54# tolerance for query issueInstant parameter. Set here to 3 minutes
55saml.soapbinding.clockSkewTolerance: 180.0
56
57saml.soapbinding.issuerName: /O=Site A/CN=Attribute Authority
58
Note: See TracBrowser for help on using the repository browser.