source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/unit/wsgi/authz/test.ini @ 5329

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/unit/wsgi/authz/test.ini@5329
Revision 5329, 1.9 KB checked in by pjkersha, 11 years ago (diff)
  • Added AuthorizationMiddleware? unit tests: ndg.security.test.unit.wsgi.authz
  • Added check for ndg.security.server.wsgi.authz.PEPFilter to catch beaker session not set in a custom PEPFilter exception type
Line 
1#
2# AuthZ 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 = AuthZFilter TestApp
16
17[app:TestApp]
18paste.app_factory = ndg.security.test.unit.wsgi.authz.test_authz:TestAuthZMiddleware
19
20[filter:AuthZFilter]
21paste.filter_app_factory=ndg.security.server.wsgi.authz:AuthorizationMiddleware.filter_app_factory
22prefix = authz.
23policy.filePath = %(here)s/policy.xml
24
25# Settings for Policy Information Point used by the Policy Decision Point to
26# retrieve subject attributes from the Attribute Authority associated with the
27# resource to be accessed
28pip.sslCACertFilePathList=
29
30# List of CA certificates used to verify the signatures of
31# Attribute Certificates retrieved
32pip.caCertFilePathList=%(testConfigDir)s/ca/ndg-test-ca.crt
33
34#
35# WS-Security Settings for call to Session Manager
36
37# Signature of an outbound message
38
39# Certificate associated with private key used to sign a message.  The sign
40# method will add this to the BinarySecurityToken element of the WSSE header. 
41# binSecTokValType attribute must be set to 'X509' or 'X509v3' ValueType. 
42# As an alternative, use signingCertChain - see below...
43
44# PEM encode cert
45pip.wssecurity.signingCertFilePath=%(testConfigDir)s/pki/wsse-server.crt
46
47# PEM encoded private key file
48pip.wssecurity.signingPriKeyFilePath=%(testConfigDir)s/pki/wsse-server.key
49
50# Password protecting private key.  Leave blank if there is no password.
51pip.wssecurity.signingPriKeyPwd=
52
53# For signature verification.  Provide a space separated list of file paths
54pip.wssecurity.caCertFilePathList=%(testConfigDir)s/ca/ndg-test-ca.crt
55
56# ValueType for the BinarySecurityToken added to the WSSE header
57pip.wssecurity.reqBinSecTokValType=X509v3
58
59# Add a timestamp element to an outbound message
60pip.wssecurity.addTimestamp=True
Note: See TracBrowser for help on using the repository browser.