source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionMgrClient/sessionMgrProperties.xml @ 3195

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionMgrClient/sessionMgrProperties.xml@3195
Revision 3195, 3.4 KB checked in by pjkersha, 12 years ago (diff)

fixes to X509, XMLSecDoc, wsSecurity and sessionMgrClient unit tests - latter still to complete

security/python/ndg.security.test/ndg/security/test/SecurityCGItest.py: deleted as this code is no longer needed. Pylons code replaces it. The module that the unit test is based still exists.

security/python/ndg.security.test/ndg/security/test/sessionMgrClient/README: more detailed instructions

security/python/ndg.security.test/ndg/security/test/server.py: repalce equivalent .sh bash script with python version

security/python/ndg.security.test/ndg/security/test/sessionMgrClient/sessionMgrClient.cfg: extra comments and use unit test dir env var to ref all files to enable running from any dir

security/python/ndg.security.test/ndg/security/test/sessionMgrClient/SessionMgrClient.py: part way through refactoring for changes as of the previous

security/python/ndg.security.test/ndg/security/test/sessionMgrClient/sessionMgrProperties.xml: fix env var refs.

security/python/ndg.security.test/ndg/security/test/wsSecurity/*,
security/python/ndg.security.test/ndg/security/test/X509/*,
security/python/ndg.security.test/ndg/security/test/XMLSecDoc/*: fixed for use with env vars

Line 
1<?xml version="1.0" encoding="utf-8"?>
2<sessMgrProp>
3    <portNum>5700</portNum>
4    <useSSL>Yes</useSSL> <!-- leave blank to use http -->
5    <!--<useSSL>Yes</useSSL>  leave blank to use http -->
6    <sslCertFile>$NDGSEC_SMCLNT_UNITTEST_DIR/sm.crt</sslCertFile>
7    <sslKeyFile>$NDGSEC_SMCLNT_UNITTEST_DIR/sm.key</sslKeyFile>
8    <!--
9    Directory containing CA cert.s to verify SSL peer cert against
10     - ignored if useSSL is blank
11    -->
12    <sslCACertDir>$NDGSEC_SMCLNT_UNITTEST_DIR/ca</sslCACertDir>
13    <!--
14    PKI settings for WS-Security signature of outbound SOAP messages
15    -->
16    <!--
17    PKI settings for signature of outbound SOAP messages
18    -->
19    <useSignatureHandler>Yes</useSignatureHandler> <!-- leave blank for no signature -->
20    <!--
21    CA Certificates used to verify X.509 certs used in peer SOAP messages,
22    SSL connections and Attribute Certificates
23    -->
24    <caCertFileList>
25        <caCertFile>$NDGSEC_SMCLNT_UNITTEST_DIR/ca/ndg-test-ca.crt</caCertFile>
26    </caCertFileList>
27    <certFile>$NDGSEC_SMCLNT_UNITTEST_DIR/sm.crt</certFile>
28    <keyFile>$NDGSEC_SMCLNT_UNITTEST_DIR/sm.key</keyFile>
29    <keyPwd/>
30    <!--
31    Set the certificate used to verify the signature of messages from the
32    client.  This can usually be left blank since the client is expected to
33    include the cert with the signature in the inbound SOAP message
34    -->
35    <clntCertFile></clntCertFile>   
36    <sessMgrEncrKey>abcdef0123456789</sessMgrEncrKey>
37    <sessMgrURI>https://localhost:5700/SessionManager</sessMgrURI>
38    <cookieDomain></cookieDomain>
39        <myProxyProp>
40                <!--
41                Delete this element and take setting from MYPROXY_SERVER environment
42                variable if required
43                <hostname>localhost</hostname>
44                -->
45                <!--
46                Delete this element to take default setting 7512 or read
47                MYPROXY_SERVER_PORT setting
48                -->
49                <port>7512</port>
50                <!--
51                Useful if hostname and certificate CN don't match correctly.  Globus
52                host DN is set to "host/<fqdn>".  Delete this element and set from
53                MYPROXY_SERVER_DN environment variable if prefered
54                <serverDN></serverDN>
55                -->
56                <!--
57                Set "host/" prefix to host cert CN as is default with globus
58                -->
59                <!--
60                This directory path is used to locate the OpenSSL configuration file
61               
62                The settings are used to set up the defaults for the Distinguished Name of
63                the new proxy cert. issued
64               
65                GLOBUS_LOCATION or GRID_SECURITY_DIR environment variables may be used
66                but the settings can be independent of any Globus installation
67                -->
68                <openSSLConfFilePath>$NDGSEC_SMCLNT_UNITTEST_DIR/openssl.conf</openSSLConfFilePath>
69                <tmpDir>/tmp</tmpDir>
70                <!--
71                        Limit on maximum lifetime any proxy certificate can have -
72                        specified when a certificate is first created by store() method
73                -->
74                <proxyCertMaxLifetime>43200</proxyCertMaxLifetime> <!-- in seconds -->
75                <!--
76                        Life time of a proxy certificate when issued from the Proxy Server
77                        with getDelegation() method
78                -->
79                <proxyCertLifetime>43200</proxyCertLifetime> <!-- in seconds -->
80                <caCertFile>$NDGSEC_SMCLNT_UNITTEST_DIR/ca/cacert.pem</caCertFile>
81        </myProxyProp>
82        <simpleCACltProp>
83            <uri></uri>
84        <xmlSigKeyFile></xmlSigKeyFile>
85        <xmlSigCertFile></xmlSigCertFile>
86        <xmlSigCertPwd></xmlSigCertPwd>
87    </simpleCACltProp>
88    <credReposProp>
89            <modFilePath></modFilePath>
90            <modName>ndg.security.common.CredWallet</modName>
91            <className>NullCredRepos</className>
92            <propFile></propFile>
93    </credReposProp>
94</sessMgrProp>
Note: See TracBrowser for help on using the repository browser.