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