source: TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/configfileparsers/test.cfg @ 7077

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg-security/TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/configfileparsers/test.cfg@7077
Revision 7077, 1.5 KB checked in by pjkersha, 11 years ago (diff)
  • Property svn:keywords set to Id
Line 
1# Test Configuration file for configfileparsers unit tests
2#
3# NERC Data Grid Project
4#
5# P J Kershaw 09/10/08
6#
7# Copyright (C) 2009 Science and Technology Facilities Council
8#
9# BSD - See LICENCE file for details
10[DEFAULT]
11
12[test1CaseSensitiveConfigParser]
13# The CaseSensitiveConfigParser should read back two distinct options here.
14# Standard SafeConfigParser will retrieve one with option set to the last one
15# read i.e. = False
16CaseSensitiveOption=True
17casesensitiveoption=False
18
19[test2INIPropertyFile]
20# Test prefixing for a given application - an Attribute Authority in this case
21attributeAuthority.useSSL=False
22attributeAuthority.name: Site A
23attributeAuthority.attCertLifetime: 3600.0
24
25# This entry should log a warning because 'here' is not defined as an option
26# in this file
27location=%(here)s/somewhere
28
29# This should work OK - thisFile is set correctly because thisDir has been
30# defined
31thisDir=$NDGSEC_CONFIGFILEPARSERS_UNITTEST_DIR
32thisFile: %(thisDir)s/test.cfg
33
34[test3ReadAndValidateProperties]
35# Prefixing of options for the Session Manager application
36sessionManager.sslCertFile: sm.crt
37sessionManager.sslKeyFile: sm.key
38
39# Test a 3rd level of nesting - prefixed for the Session Manager but the
40# Session Manager itself has a Credential Wallet subcomponent
41sessionManager.credentialWallet.caCertFilePathList=ca/ndg-test-ca.crt
42
43# Test bool and int type conversions
44sessionManager.credentialWallet.mapFromTrustedHosts=True
45sessionManager.credentialWallet.attCertRefreshElapse=7200
Note: See TracBrowser for help on using the repository browser.