source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionMgr/sessionMgrProperties.xml @ 4158

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionMgr/sessionMgrProperties.xml@4158
Revision 4158, 4.1 KB checked in by cbyrom, 11 years ago (diff)

Create new utility module, ClassFactory? - to allow generic instantiation
of classes dynamically.

Implement use of this in the AttAuth? and SessionMgr? services + adjust
the config files for these accordingly + abstract use of MyProxy? in
SessionMgr? to generic authNService - and create packages with real
and test authN services. Adjust the SessionMgr? tests to use the
test authN service.

Line 
1<?xml version="1.0" encoding="utf-8"?>
2<sessMgrProp>
3    <portNum>5700</portNum>
4    <useSSL></useSSL> <!-- leave blank to use http -->
5    <!--<useSSL>Yes</useSSL>  leave blank to use http -->
6    <sslCertFile>$NDGSEC_SM_UNITTEST_DIR/sm.crt</sslCertFile>
7    <sslKeyFile>$NDGSEC_SM_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_SM_UNITTEST_DIR/ca</sslCACertDir>
13    <!--
14    WS-Security settings for signature of outbound SOAP messages
15    NB, if no signature handling is required, do not include this element
16    -->
17    <WS-Security>
18            <!--
19            CA Certificates used to verify X.509 certs used in peer SOAP messages,
20            SSL connections and Attribute Certificates
21        -->
22            <caCertFilePathList>
23            <caCertFile>$NDGSEC_SM_UNITTEST_DIR/ca/ndg-test-ca.crt</caCertFile>
24        </caCertFilePathList>
25            <signingCertFilePath>$NDGSEC_SM_UNITTEST_DIR/sm.crt</signingCertFilePath>
26        <signingPriKeyFilePath>$NDGSEC_SM_UNITTEST_DIR/sm.key</signingPriKeyFilePath>
27            <signingPriKeyPwd/>
28                <!--
29                Inclusive namespace prefixes for reference and SignedInfo sections of
30                WS-Security digital signature
31                -->
32                <refC14nInclNS></refC14nInclNS>
33                <signedInfoC14nInclNS></signedInfoC14nInclNS>
34        <!--
35            Set the certificate used to verify the signature of messages from the
36        client.  This can usually be left blank since the client is expected to
37            include the cert with the signature in the inbound SOAP message
38        -->
39        <verifyingCertFilePath></verifyingCertFilePath>
40    </WS-Security>   
41    <sessMgrEncrKey>abcdef0123456789</sessMgrEncrKey>
42    <sessMgrURI>https://localhost:5700/SessionManager</sessMgrURI>
43    <cookieDomain></cookieDomain>
44        <authNServiceProp>
45            <moduleFilePath></moduleFilePath>
46            <moduleName>ndg.security.test.authenservice.test_authen_service</moduleName>
47            <className>TestAutheNService</className>
48            <!-- If properties file specified, the contents will augment/override any
49            other properties set here -->
50            <propertiesFile></propertiesFile>
51                <!--
52                Delete this element and take setting from MYPROXY_SERVER environment
53                variable if required
54                <hostname>localhost</hostname>
55                -->
56                <!--
57                Delete this element to take default setting 7512 or read
58                MYPROXY_SERVER_PORT setting
59                -->
60                <port>7512</port>
61                <!--
62                Useful if hostname and certificate CN don't match correctly.  Globus
63                host DN is set to "host/<fqdn>".  Delete this element and set from
64                MYPROXY_SERVER_DN environment variable if preferred
65                <serverDN>/O=NDG/OU=BADC/OU=Gabriel/CN=localhost</serverDN>
66                -->
67                <!--
68                Set "host/" prefix to host cert CN as is default with globus otherwise
69                client SSL peer cert check fails
70                -->
71                <serverCNprefix>host/</serverCNprefix> 
72                <!--
73                This directory path is used to locate the OpenSSL configuration file
74               
75                The settings are used to set up the defaults for the Distinguished Name of
76                the new proxy cert. issued
77               
78                GLOBUS_LOCATION or GRID_SECURITY_DIR environment variables may be used
79                but the settings can be independent of any Globus installation
80                -->
81                <openSSLConfFilePath>$NDGSEC_SM_UNITTEST_DIR/openssl.conf</openSSLConfFilePath>
82                <tmpDir>/tmp</tmpDir>
83                <!--
84                        Limit on maximum lifetime any proxy certificate can have -
85                        specified when a certificate is first created by store() method
86                -->
87                <proxyCertMaxLifetime>43200</proxyCertMaxLifetime> <!-- in seconds -->
88                <!--
89                        Life time of a proxy certificate when issued from the Proxy Server
90                        with getDelegation() method
91                        -->
92                <proxyCertLifetime>43200</proxyCertLifetime> <!-- in seconds -->
93                <caCertFile>$NDGSEC_SM_UNITTEST_DIR/ca/ndg-test-ca.crt</caCertFile>
94        </authNServiceProp>
95        <simpleCACltProp>
96            <uri></uri>
97        <xmlSigKeyFile></xmlSigKeyFile>
98        <xmlSigCertFile></xmlSigCertFile>
99        <xmlSigCertPwd></xmlSigCertPwd>
100    </simpleCACltProp>
101    <credReposProp>
102            <modFilePath></modFilePath>
103            <modName>ndg.security.common.CredWallet</modName>
104            <className>NullCredRepos</className>
105            <propFile></propFile>
106    </credReposProp>
107</sessMgrProp>
Note: See TracBrowser for help on using the repository browser.