Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg-security/TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/wsgi/authz/pep-result-handler-test.ini@7077
Revision 7077,
1.3 KB
checked in by pjkersha, 11 years ago
(diff) |
|
-
Property svn:keywords set to
Id
|
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] |
---|
7 | testConfigDir = %(here)s/../../../config |
---|
8 | |
---|
9 | [server:main] |
---|
10 | use = egg:Paste#http |
---|
11 | host = 0.0.0.0 |
---|
12 | port = 5000 |
---|
13 | |
---|
14 | [pipeline:main] |
---|
15 | pipeline = AuthZFilter TestApp |
---|
16 | |
---|
17 | [app:TestApp] |
---|
18 | paste.app_factory = ndg.security.test.unit.wsgi.authz.test_authz:TestAuthZMiddleware |
---|
19 | |
---|
20 | [filter:AuthZFilter] |
---|
21 | paste.filter_app_factory=ndg.security.server.wsgi.authz:SAMLAuthorizationMiddleware.filter_app_factory |
---|
22 | prefix = authz. |
---|
23 | policy.filePath = %(here)s/saml-policy.xml |
---|
24 | |
---|
25 | authz.pepResultHandler = ndg.security.server.wsgi.authz.result_handler.redirect.HTTPRedirectPEPResultHandlerMiddleware |
---|
26 | authz.pepResultHandler.redirectURI = /nowhere |
---|
27 | |
---|
28 | # Settings for Policy Information Point used by the Policy Decision Point to |
---|
29 | # retrieve subject attributes from the Attribute Authority associated with the |
---|
30 | # resource to be accessed |
---|
31 | |
---|
32 | # If omitted, DN of SSL Cert is used |
---|
33 | pip.attributeQuery.issuerName = |
---|
34 | pip.attributeQuery.clockSkewTolerance = 0. |
---|
35 | pip.attributeQuery.queryAttributes.0 = urn:siteA:security:authz:1.0:attr, , http://www.w3.org/2001/XMLSchema#string |
---|
36 | pip.attributeQuery.sslCACertDir=%(testConfigDir)s/ca |
---|
37 | pip.attributeQuery.sslCertFilePath=%(testConfigDir)s/pki/test.crt |
---|
38 | pip.attributeQuery.sslPriKeyFilePath=%(testConfigDir)s/pki/test.key |
---|
Note: See
TracBrowser
for help on using the repository browser.