source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/combinedservices/test_combinedservices.cfg @ 4692

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/combinedservices/test_combinedservices.cfg@4692
Revision 4692, 3.5 KB checked in by pjkersha, 11 years ago (diff)

Refactoring of SSO service to enable use of local AA and SM instances via keys to environ.

Line 
1# NERC Data Grid Project
2#
3# P J Kershaw 20/11/08
4#
5# Copyright (C) 2008 STFC
6#
7# This software may be distributed under the terms of the Q Public License,
8# version 1.0 or later.
9#
10# $Id:$
11[setUp]
12logLevel = ERROR
13uri = http://localhost:8000/SessionManager
14# alternate port for testing with tcpmon
15#uri = http://localhost:7999/SessionManager
16
17# For https connections only.  !Omit ssl* settings if using http!
18# sslpeercertcn is the expected CommonName of peer cert.  Omit if it's the
19# same as peer hostname.
20#sslPeerCertCN = junk
21
22# For https only - List of CA certificates to enable this client to verify
23# the server's SSL X.509 certificate
24sslCACertFilePathList = $NDGSEC_COMBINED_SRVS_UNITTEST_DIR/ca/ndg-test-ca.crt
25
26[test01Connect]
27username = testuser
28passphrase = testpassword
29
30[test03ConnectNoCreateServerSess]         
31username = testuser
32passphrase = testpassword
33
34[test06GetAttCertWithSessID]
35aaURI = http://localhost:8000/AttributeAuthority
36acOutFilePath = $NDGSEC_COMBINED_SRVS_UNITTEST_DIR/ac-out.xml
37
38[test07GetAttCertWithUserX509Cert]
39aaURI = http://localhost:8000/AttributeAuthority
40
41[test09WSGILocalSessionManagerInstanceConnect]
42url = http://localhost:8000/test_localSessionManagerConnect
43username = testuser
44passphrase = testpassword
45
46[test10WSGILocalSessionManagerInstanceGetSessionStatus]
47url = http://localhost:8000/test_localSessionManagerGetSessionStatus
48username = testuser
49passphrase = testpassword
50
51[test11WSGILocalSessionManagerInstanceDisconnect]
52url = http://localhost:8000/test_localSessionManagerDisconnect
53username = testuser
54passphrase = testpassword
55
56[test12WSGILocalSessionManagerInstanceGetAttCert]
57url = http://localhost:8000/test_localSessionManagerGetAttCert
58username = testuser
59passphrase = testpassword
60
61[test13WSGILocalAttributeAuthorityInstanceGetHostInfo]
62url = http://localhost:8000/test_localAttributeAuthorityGetHostInfo
63
64[test14WSGILocalAttributeAuthorityInstanceGetTrustedHostInfo]
65url = http://localhost:8000/test_localAttributeAuthorityGetTrustedHostInfo
66role = postgrad
67
68[test15WSGILocalAttributeAuthorityInstanceGetAllHostsInfo]
69url = http://localhost:8000/test_localAttributeAuthorityGetAllHostsInfo
70
71[test16WSGILocalAttributeAuthorityInstanceGetAttCert]
72url = http://localhost:8000/test_localAttributeAuthorityGetAttCert
73username = testuser
74passphrase = testpassword
75
76[wsse]
77# WS-Security settings for unit test AA clients
78#
79# OUTBOUND MESSAGE CONFIG
80
81# Signature of an outbound message
82
83# Certificate associated with private key used to sign a message.  The sign
84# method will add this to the BinarySecurityToken element of the WSSE header. 
85signingCertFilePath=$NDGSEC_COMBINED_SRVS_UNITTEST_DIR/test.crt
86
87# PEM encoded private key file
88signingPriKeyFilePath=$NDGSEC_COMBINED_SRVS_UNITTEST_DIR/test.key
89
90# Set the ValueType for the BinarySecurityToken added to the WSSE header for a
91# signed message.  See __setReqBinSecTokValType method and binSecTokValType
92# class variable for options - it may be one of X509, X509v3, X509PKIPathv1 or
93# give full namespace to alternative - see
94# ZSI.wstools.Namespaces.OASIS.X509TOKEN
95#
96# binSecTokValType determines whether signingCert or signingCertChain
97# attributes will be used.
98reqBinSecTokValType=X509v3
99
100# Add a timestamp element to an outbound message
101addTimestamp=True
102
103# For WSSE 1.1 - service returns signature confirmation containing signature
104# value sent by client
105applySignatureConfirmation=False
106
107#
108# INBOUND MESSAGE CONFIG
109
110# Provide a space separated list of file paths
111caCertFilePathList=$NDGSEC_COMBINED_SRVS_UNITTEST_DIR/ca/ndg-test-ca.crt
Note: See TracBrowser for help on using the repository browser.