source: TI12-security/trunk/python/ndg.security.server/ndg/security/server/conf/attAuthorityProperties.xml @ 2289

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.server/ndg/security/server/conf/attAuthorityProperties.xml@2289
Revision 2289, 1.8 KB checked in by pjkersha, 14 years ago (diff)

python/ndg.security.server/ndg/security/server/AttAuthority/server-config.tac:
modified soap_getAttCert to allow for unsigned client messages. If the
useSignatureHandler flag is not set, then the certificate passed in to
AttAuthority?.getAttCert is the userCert element of the SOAP message.

This is a useful capability if both client and service are behind a firewall
and message security is not required.

python/ndg.security.server/ndg/security/server/AttAuthority/init.py,
python/ndg.security.server/ndg/security/server/conf/attAuthorityProperties.
xml,
python/ndg.security.test/ndg/security/test/AttAuthority/siteAAttAuthorityProperties.xml,
python/ndg.security.test/ndg/security/test/AttAuthority/siteBAttAuthorityProperties.xml:
added useSignatureHandler element to list of elements in the properties file.
If this is not set, then the service will not apply signature or signature
verification to messages.

python/ndg.security.test/ndg/security/test/AttAuthority/AttAuthorityClientTest.py: use dictionary get() rather then [key] for signature keywords. This enables
them to be omitted in the config file so as to switch off the signature handler.

python/ndg.security.test/ndg/security/test/AttAuthority/attAuthorityClientTest.cfg: experimented with omitting signature PKI settings.

python/ndg.security.test/ndg/security/test/MyProxy/myProxyProperties.xml:
set serverCNprefix element to host/ for this MyProxy? installations server cert.

python/ndg.security.test/ndg/security/test/MyProxy/myProxyClientTest.cfg:
altered for account on this machine.

python/ndg.security.common/setup.py: slight change to Python 2.5 check for
ElementTree inclusion

python/ndg.security.common/ndg/security/common/AttAuthority/init.py:
SignatureHandler? is now optional. It's left as None if none of the signature
keywords are set via init. It can be set later as the signatureHandler
property now has set capability enabled.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
RevLine 
[638]1<?xml version="1.0" encoding="utf-8"?>
[405]2<AAprop>
[2136]3        <!--
4        'name' setting MUST agree with map config file 'thisHost' name
5        attribute
6        -->
7    <name>BADC</name> 
[2039]8    <portNum>5000</portNum>
[2251]9    <!--
10    PKI settings for transport level encryption
11    -->
12    <useSSL></useSSL> <!-- leave blank to use http -->
[2136]13    <sslCertFile></sslCertFile>
14    <sslKeyFile></sslKeyFile>
[2251]15    <sslKeyPwd></sslKeyPwd>
[2136]16    <!--
17    PKI settings for signature of outbound SOAP messages
18    -->
[2289]19    <useSignatureHandler>Yes</useSignatureHandler> <!-- leave blank for no signature -->
[2251]20    <certFile></certFile>
[638]21    <keyFile></keyFile>
22    <keyPwd></keyPwd>
23    <caCertFile></caCertFile>
[2136]24    <!--
25    Set the certificate used to verify the signature of messages from the
26    client.  This can usually be left blank since the client is expected to
27    include the cert with the signature in the inbound SOAP message
28    -->
29    <clntCertFile></clntCertFile>   
30    <attCertLifetime></attCertLifetime> <!-- Measured in seconds -->
31        <!--
32        Allow an offset for clock skew between servers running
33        security services.  - Use minus sign for time in the past
34        -->
[2181]35    <attCertNotBeforeOff>0</attCertNotBeforeOff>
[2136]36    <!-- Location of role mapping file -->
37    <mapConfigFile></mapConfigFile>
38    <!-- All Attribute Certificates are recorded in this dir before dispatch
39    to SOAP requestor
40    -->
41    <attCertDir></attCertDir>
42    <!--
43    File prefix and suffix for files stored in attCertDir
44    -->
[2017]45    <attCertFilePfx>ac-</attCertFilePfx>
46    <attCertFileSfx>.xml</attCertFileSfx>
47    <dnSeparator>/</dnSeparator>
[2136]48    <!--
49    Settings for custom AAUserRoles derived class to get user roles for
50    given user ID
51    -->
[2051]52    <userRolesModFilePath></userRolesModFilePath>
53    <userRolesModName></userRolesModName>
54    <userRolesClassName></userRolesClassName>
55    <userRolesPropFile></userRolesPropFile>
[405]56</AAprop>
Note: See TracBrowser for help on using the repository browser.