source: TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/attributeauthorityclient/test_samlattributeauthorityclient.cfg @ 6572

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/attributeauthorityclient/test_samlattributeauthorityclient.cfg@6572
Revision 6572, 2.7 KB checked in by pjkersha, 11 years ago (diff)

Working refactored Attribute Authority Client unit tests.

Line 
1# NERC DataGrid Project
2#
3# Conifguration for SAML SOAP Binding Interface to the Attribute Authority
4#
5# P J Kershaw 15/02/10
6#
7# Copyright (C) 2010 Science and Technology Facilities Council
8#
9# BSD - See LICENCE file for details
10
11#  use a separate test case class in the test module and is
12# included here
13[test01SAMLAttributeQuery]
14uri = http://localhost:5000/AttributeAuthority/saml
15subject = https://openid.localhost/philip.kershaw
16siteAttributeName = urn:siteA:security:authz:1.0:attr
17
18[test02SAMLAttributeQueryInvalidIssuer]
19uri = http://localhost:5000/AttributeAuthority/saml
20subject = https://openid.localhost/philip.kershaw
21siteAttributeName = urn:siteA:security:authz:1.0:attr
22
23[test03SAMLAttributeQueryUnknownSubject]
24uri = http://localhost:5000/AttributeAuthority/saml
25subject = https://openid.localhost/unknown
26siteAttributeName = urn:siteA:security:authz:1.0:attr
27
28[test04SAMLAttributeQueryInvalidAttrName]
29uri = http://localhost:5000/AttributeAuthority/saml
30subject = https://openid.localhost/philip.kershaw
31siteAttributeName = invalid-attr
32prefix = saml.
33saml.serialise = saml.xml.etree:AttributeQueryElementTree.toXML
34saml.deserialise = saml.xml.etree:ResponseElementTree.fromXML
35
36[test05AttributeQuerySOAPBindingInterface]
37uri = http://localhost:5000/AttributeAuthority/saml
38subject = https://openid.localhost/philip.kershaw
39
40[test06AttributeQueryFromConfig]
41uri = http://localhost:5000/AttributeAuthority/saml
42subject = https://openid.localhost/philip.kershaw
43
44attributeQuery.subjectIdFormat = urn:esg:openid
45attributeQuery.clockSkewTolerance = 0.
46attributeQuery.issuerName = /O=Site A/CN=Authorisation Service
47attributeQuery.queryAttributes.0 = urn:esg:first:name, FirstName, http://www.w3.org/2001/XMLSchema#string
48attributeQuery.queryAttributes.roles = urn:siteA:security:authz:1.0:attr, , http://www.w3.org/2001/XMLSchema#string
49
50[test07AttributeQuerySslSOAPBindingInterface]
51uri = http://localhost:5000/AttributeAuthority/saml
52subject = https://openid.localhost/philip.kershaw
53
54attributeQuery.subjectIdFormat = urn:esg:openid
55attributeQuery.clockSkewTolerance = 0.
56attributeQuery.issuerName = /O=Site A/CN=Authorisation Service
57attributeQuery.queryAttributes.0 = urn:esg:email:address, EmailAddress, http://www.w3.org/2001/XMLSchema#string
58attributeQuery.queryAttributes.roles = urn:siteA:security:authz:1.0:attr, , http://www.w3.org/2001/XMLSchema#string
59
60# SSL Context Proxy settings
61attributeQuery.sslCACertDir = $NDGSEC_TEST_CONFIG_DIR/ca
62attributeQuery.sslCertFilePath = $NDGSEC_TEST_CONFIG_DIR/pki/test.crt
63attributeQuery.sslPriKeyFilePath = $NDGSEC_TEST_CONFIG_DIR/pki/test.key
64attributeQuery.sslValidDNs = /C=UK/ST=Oxfordshire/O=BADC/OU=Security/CN=localhost, /O=Site A/CN=Attribute Authority
Note: See TracBrowser for help on using the repository browser.