source: TI12-security/trunk/python/ndg_security_test/ndg/security/test/unit/wsgi/attributeauthority/test.ini @ 5779

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg_security_test/ndg/security/test/unit/wsgi/attributeauthority/test.ini@5779
Revision 5779, 2.3 KB checked in by pjkersha, 11 years ago (diff)

Integrated automated start-up and shutdown of Paste http servers for unit tests.

Line 
1#
2# AuthN WSGI Testing environment configuration
3#
4# The %(here)s variable will be replaced with the parent directory of this file
5#
6[DEFAULT]
7testConfigDir = %(here)s/../../../config
8
9[server:main]
10use = egg:Paste#http
11host = 0.0.0.0
12port = 5000
13
14[pipeline:main]
15pipeline = AttributeAuthorityFilter TestApp
16
17[app:TestApp]
18paste.app_factory = ndg.security.test.unit.wsgi.attributeauthority.test_attributeauthority:TestAttributeAuthorityApp
19
20[filter:AttributeAuthorityFilter]
21paste.filter_app_factory = ndg.security.server.wsgi.attributeauthority:AttributeAuthorityMiddleware.filter_app_factory
22prefix = attributeauthority.
23
24attributeauthority.environKeyName = myAttributeAuthority
25
26# Attribute Authority settings
27# 'name' setting MUST agree with map config file 'thisHost' name attribute
28attributeauthority.name: Site A
29
30# Lifetime is measured in seconds
31attributeauthority.attCertLifetime: 28800 
32
33# Allow an offset for clock skew between servers running
34# security services. NB, measured in seconds - use a minus sign for time in the
35# past
36attributeauthority.attCertNotBeforeOff: 0
37
38# All Attribute Certificates issued are recorded in this dir
39attributeauthority.attCertDir: %(testConfigDir)s/attributeauthority/sitea/attributeCertificateLog
40
41# Files in attCertDir are stored using a rotating file handler
42# attCertFileLogCnt sets the max number of files created before the first is
43# overwritten
44attributeauthority.attCertFileName: ac.xml
45attributeauthority.attCertFileLogCnt: 16
46attributeauthority.dnSeparator:/
47
48# Location of role mapping file
49attributeauthority.mapConfigFilePath: %(testConfigDir)s/attributeauthority/sitea/siteAMapConfig.xml
50
51# Settings for custom AttributeInterface derived class to get user roles for given
52# user ID
53#attributeauthority.attributeInterface.modFilePath: %(testConfigDir)s/attributeauthority/sitea
54attributeauthority.attributeInterface.modName: ndg.security.test.integration.authz.attributeinterface
55attributeauthority.attributeInterface.className: TestUserRoles
56
57# Config for XML signature of Attribute Certificate
58attributeauthority.signingPriKeyFilePath: %(testConfigDir)s/attributeauthority/sitea/siteA-aa.key
59attributeauthority.signingCertFilePath: %(testConfigDir)s/attributeauthority/sitea/siteA-aa.crt
60attributeauthority.caCertFilePathList: %(testConfigDir)s/ca/ndg-test-ca.crt
61
Note: See TracBrowser for help on using the repository browser.