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

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

Refactored SAML SOAP Binding unit test class into a separate module test_samlattributeauthorityclient

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
32
33[test05AttributeQuerySOAPBindingInterface]
34uri = http://localhost:5000/AttributeAuthority/saml
35subject = https://openid.localhost/philip.kershaw
36
37[test06AttributeQueryFromConfig]
38uri = http://localhost:5000/AttributeAuthority/saml
39subject = https://openid.localhost/philip.kershaw
40
41attributeQuery.subjectIdFormat = urn:esg:openid
42attributeQuery.clockSkewTolerance = 0.
43attributeQuery.issuerName = /O=Site A/CN=Authorisation Service
44attributeQuery.queryAttributes.0 = urn:esg:first:name, FirstName, http://www.w3.org/2001/XMLSchema#string
45attributeQuery.queryAttributes.roles = urn:siteA:security:authz:1.0:attr, , http://www.w3.org/2001/XMLSchema#string
46
47[test07AttributeQuerySslSOAPBindingInterface]
48uri = http://localhost:5000/AttributeAuthority/saml
49subject = https://openid.localhost/philip.kershaw
50
51attributeQuery.subjectIdFormat = urn:esg:openid
52attributeQuery.clockSkewTolerance = 0.
53attributeQuery.issuerName = /O=Site A/CN=Authorisation Service
54attributeQuery.queryAttributes.0 = urn:esg:email:address, EmailAddress, http://www.w3.org/2001/XMLSchema#string
55attributeQuery.queryAttributes.roles = urn:siteA:security:authz:1.0:attr, , http://www.w3.org/2001/XMLSchema#string
56
57# SSL Context Proxy settings
58attributeQuery.sslCACertDir = $NDGSEC_TEST_CONFIG_DIR/ca
59attributeQuery.sslCertFilePath = $NDGSEC_TEST_CONFIG_DIR/pki/test.crt
60attributeQuery.sslPriKeyFilePath = $NDGSEC_TEST_CONFIG_DIR/pki/test.key
61attributeQuery.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.