source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/SessionMgr/sessionMgrClientTest.cfg @ 2902

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/SessionMgr/sessionMgrClientTest.cfg@2902
Revision 2902, 2.3 KB checked in by pjkersha, 13 years ago (diff)

Added logging to major modules

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

  • Parent exception class AttAuthorityError? now also writes to ERROR log when raised.
  • Logging info added
  • ACs issued are now logged using a RotatingFileHandler? to enable prevention of disk overflow
  • AC log rotating file handler can be configured via the properties file to set the max number of AC files

ndg.security.server/ndg/security/server/conf/sessionMgrLog.cfg,
ndg.security.server/ndg/security/server/conf/attAuthorityLog.cfg:

  • increased max log file size for rotation

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

  • Parent exception class _SessionMgrException now also writes to ERROR log when raised.
  • Logging info added

ndg.security.test/ndg/security/test/SessionMgr/sessionMgrClientTest.cfg:

  • modified settings for testing

ndg.security.common/ndg/security/common/SessionMgr/init.py,
ndg.security.common/ndg/security/common/AttAuthority/init.py:

  • added getURI method to enable read access to uri attribute

ndg.security.common/ndg/security/common/m2CryptoSSLUtility.py:

  • Reset default timeout to 20s. 3s timeout caused intermittent errors in tests.

ndg.security.common/ndg/security/common/CredWallet.py:

  • adding logging calls.
  • Parent exception class _CredWalletException now also writes to ERROR log when raised.
  • Removed CredWallet?.str - not needed
Line 
1# NERC Data Grid Project
2#
3# P J Kershaw 12/01/07
4#
5# Copyright (C) 2007 CCLRC & NERC
6#
7# This software may be distributed under the terms of the Q Public License,
8# version 1.0 or later.
9#
10# $Id:$
11[setUp]
12smuri = https://localhost:5700/SessionManager
13#smuri = https://glue.badc.rl.ac.uk:50000/SessionManager
14
15# For https connections only.  !Omit ssl* settings if using http!
16# sslpeercertcn is the expected CommonName of peer cert.  Omit if it's the
17# same as peer hostname.
18#sslpeercertcn = webSphereTest
19sslcacertfilepathlist = cacert.pem
20
21# Set to False to test service without WS-Security signature
22setsignaturehandler = True
23
24# ValueType for BinarySecurityToken element of WSSE header.  Specify
25# 'X509PKIPathv1' for use with proxy certificates
26reqbinsectokvaltype = X509v3
27#reqbinsectokvaltype = X509
28#reqbinsectokvaltype = X509PKIPathv1
29
30# Test with proxy certificates or with standard certs.  Comment out as
31# appropriate
32#proxycertfilepath = ./proxy-cert.pem
33
34# Test without proxy certificates - uses AA server side cert/private key for
35# client side too (!)
36clntcertfilepath = ./clnt-cert.pem
37
38clntprikeyfilepath = ./clnt-key.pem
39#clntprikeyfilepath = ./proxy-key.pem
40
41# Password protecting client private key - if omitted it will be prompted for
42# from tty
43clntprikeypwd = 
44
45# Space separated list of CA certificate files used to verify certificate used
46# in message signature
47cacertfilepathlist = ./cacert.pem
48
49[test1AddUser]
50username = BugsBunny
51# Comment out to prompt for on tty.
52#passphrase =
53 
54[test2Connect]         
55#username = lawrence
56username = raphaelTest
57#username = gabriel
58passphrase = testpassword
59
60[test3ConnectNoCreateServerSess]         
61username = raphaelTest
62#username = gabriel
63passphrase = 
64
65[test6GetAttCertUsingSessID]
66aaURI = http://localhost:5000/AttributeAuthority
67acOutFilePath = ac-out.xml
68
69[test6aGetAttCertRefusedUsingSessID]
70aaURI = http://localhost:5100/AttributeAuthority
71
72[test6bGetMappedAttCertUsingSessID]
73aaURI = http://localhost:5100/AttributeAuthority
74
75[test6cGetAttCertWithExtAttCertListUsingSessID]
76aaURI = http://localhost:5100/AttributeAuthority
77# Use output from test6GetAttCertUsingSessID!
78extACFilePath = ac-out.xml
79
80[test7GetAttCertUsingProxyCert]
81aaURI = http://localhost:5000/AttributeAuthority
82#aaURI = http://glue.badc.rl.ac.uk/services/ndg/security/AttributeAuthority
Note: See TracBrowser for help on using the repository browser.