source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/AttAuthority/siteAAttAuthorityProperties.xml @ 2900

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

ndg.security.server/setup.py: added *.conf for conf/ openssl.conf file

ndg.security.server/ndg/security/server/AttAuthority/init.py:

  • Use RotatingFileHandler? from logging package to enable store of ACs issued to be limited. Properties file attCertFileLogCnt sets maximum number of files created before rotation.
  • newAttCertFilePath() is replaced by rotating file handler functionality
  • added logging with some debug messages - more needed to complete

ndg.security.server/ndg/security/server/conf/attCert/init.py

  • renamed to ndg.security.test/ndg/security/test/AttAuthority/attCertLog/init.py

ndg.security.server/ndg/security/server/conf/userRoles.py: userIsRegistered should return bool

ndg.security.server/ndg/security/server/conf/attAuthorityProperties.xml,
ndg.security.test/ndg/security/test/AttAuthority/siteAAttAuthorityProperties.xml,
ndg.security.test/ndg/security/test/AttAuthority/siteBAttAuthorityProperties.xml:

  • filled in default values for most attributes to ease installation config tasks
  • attCertFilePfx and attCertFileSfx replaced with attCertFileName and attCertFileLog attributes for new AC logging.

ndg.security.client/ndg/security/client/ndgSessionClient.py: removed debug calls. This module may now be surplus because of Pylons framework and plans for Java and PHP clients.

ndg.security.test/ndg/security/test/AttAuthority/siteAUserRoles.py: added coapec for testing

ndg.security.test/ndg/security/test/AttAuthority/siteAMapConfig.xml: fix formatting

ndg.security.test/ndg/security/test/AttAuthority/attAuthorityClientTest.cfg: altered settings for tests

ndg.security.test/ndg/security/test/Log/LogTest.py: exptd with log config. Eventually change to be harness for SOAP log interface

Makefile: use default python + added force target.

Line 
1<?xml version="1.0" encoding="utf-8"?>
2<AAprop>
3    <name>Site A</name>
4    <portNum>5000</portNum>
5    <useSSL></useSSL> <!-- leave blank to use http -->
6    <sslCertFile>$NDGSEC_AA_UNITTEST_DIR/aa-cert.pem</sslCertFile>
7    <sslKeyFile>$NDGSEC_AA_UNITTEST_DIR/aa-key.pem</sslKeyFile>
8    <sslKeyPwd></sslKeyPwd>
9    <useSignatureHandler>Yes</useSignatureHandler> <!-- leave blank for no signature -->
10    <certFile>$NDGSEC_AA_UNITTEST_DIR/aa-cert.pem</certFile>
11    <keyFile>$NDGSEC_AA_UNITTEST_DIR/aa-key.pem</keyFile>
12    <keyPwd></keyPwd>
13    <caCertFile>$NDGSEC_AA_UNITTEST_DIR/cacert.pem</caCertFile>
14    <!--
15    Set the certificate used to verify the signature of messages from the
16    client.  This can usually be left blank since the client is expected to
17    include the cert with the signature in the inbound SOAP message
18    -->
19    <clntCertFile></clntCertFile>   
20    <attCertLifetime>28800</attCertLifetime>
21    <attCertNotBeforeOff>0</attCertNotBeforeOff>
22    <attCertFileName>ac.xml</attCertFileName>
23    <attCertFileLogCnt>16</attCertFileLogCnt>
24    <mapConfigFile>$NDGSEC_AA_UNITTEST_DIR/siteAMapConfig.xml</mapConfigFile>
25    <attCertDir>$NDGSEC_AA_UNITTEST_DIR/attCertLog</attCertDir>
26    <dnSeparator>/</dnSeparator>
27    <userRolesModFilePath>$NDGSEC_AA_UNITTEST_DIR</userRolesModFilePath>
28    <userRolesModName>siteAUserRoles</userRolesModName>
29    <userRolesClassName>TestUserRoles</userRolesClassName>
30    <userRolesPropFile></userRolesPropFile>
31</AAprop>
Note: See TracBrowser for help on using the repository browser.