source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/MyProxy/myProxyProperties.xml @ 3024

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

Adding getSessionStatus to enable SM clients to check a session is still valid.

python/ndg.security.server/ndg/security/server/SessionMgr/init.py:

  • new method getSessionStatus checks for a session's existence with given input sessID.

python/www/html/sessionMgr.wsdl,
python/ndg.security.server/ndg/security/server/SessionMgr/SessionMgr_services_server.py,
python/ndg.security.common/ndg/security/common/SessionMgr/SessionMgr_services.py:

  • added getSessionStatus operation to WSDL and regenerated the stubs

python/ndg.security.test/ndg/security/test/MyProxy/myProxyProperties.xml: replace refs to GLOBUS_LOCATION with NDGSEC_DIR for MyProxy? unit tests OpenSSL config file.

python/ndg.security.test/ndg/security/test/SessionMgr/SessionMgrTest.py: new unit test to test out ndg.security.server.SessionMgr?.SessionMgr? class. Previously, this required use of the SessionMgrClient? unit tests. ie. running over SOAP interface.

python/ndg.security.test/ndg/security/test/SessionMgr/sessionMgrProperties.xml,
python/ndg.security.test/ndg/security/test/SessionMgr/sessionMgrClientTest.cfg:

  • expt with settings to try twisted over http but run through proxy on 443 with Apache.
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<myProxyProp>
3        <!--
4        Delete this element and take setting from MYPROXY_SERVER environment
5        variable if required
6        <hostname>localhost</hostname>
7        -->
8        <!--
9        Delete this element to take default setting 7512 or read
10        MYPROXY_SERVER_PORT setting
11        -->
12        <port>7512</port>
13        <!--
14        Useful if hostname and certificate CN don't match correctly.  Globus host
15        CN is usually set to "host/<fqdn>".  Delete this element and set from
16        MYPROXY_SERVER_DN environment variable if prefered
17        <serverDN>/O=NDG/OU=Raphael/CN=raphael</serverDN>
18        -->
19        <!--
20        Set "host/" prefix to host cert CN as is default with globus
21        -->
22        <serverCNprefix></serverCNprefix>       
23        <!--
24        This directory path is used to locate the OpenSSL configuration file
25       
26        The settings are used to set up the defaults for the Distinguished Name of
27        the new proxy cert. issued
28       
29        GLOBUS_LOCATION or GRID_SECURITY_DIR environment variables may be used
30        but the settings can be independent of any Globus installation
31        -->
32        <openSSLConfFilePath>$NDGSEC_DIR/conf/openssl.conf</openSSLConfFilePath>
33        <tmpDir>/tmp</tmpDir>
34        <!--
35                Limit on maximum lifetime any proxy certificate can have - specified
36            when a certificate is first created by store() method
37        -->
38        <!--
39        <proxyCertMaxLifetime></proxyCertMaxLifetime>
40        -->
41        <!--
42                Life time of a proxy certificate when issued from the Proxy Server with
43                getDelegation() method
44                -->
45        <!--
46        <proxyCertLifetime></proxyCertLifetime>
47        -->
48        <caCertFile>$NDGSEC_DIR/conf/certs/cacert.pem</caCertFile>
49</myProxyProp>
Note: See TracBrowser for help on using the repository browser.