source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/integration/authz/securedapp.ini @ 5086

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/integration/authz/securedapp.ini@5086
Revision 5086, 1.9 KB checked in by pjkersha, 12 years ago (diff)

ndg.security.test.integration.authz: integration test including OpenID provider, relying party and PEP and PDP components. PDP is currently placeholder requiring integration with user credentials callout to Session Manager.

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]
7
8[server:main]
9use = egg:Paste#http
10host = 0.0.0.0
11port = 7080
12
13[pipeline:main]
14pipeline = SessionMiddlewareFilter
15                   AuthenticationFilter
16                   PDPMiddlewareFilter
17                   PEPMiddlewareFilter
18                   AuthZTestApp
19
20[app:AuthZTestApp]
21paste.app_factory = ndg.security.test.integration.authz.securedapp:AuthZTestMiddleware.app_factory
22
23#______________________________________________________________________________
24# Beaker Session Middleware (used by Authentication Filter)
25[filter:SessionMiddlewareFilter]
26paste.filter_app_factory=beaker.middleware:SessionMiddleware
27#beaker.session.key = sso
28beaker.session.secret = somesecret
29
30# If you'd like to fine-tune the individual locations of the cache data dirs
31# for the Cache data, or the Session saves, un-comment the desired settings
32# here:
33beaker.cache.data_dir = %(here)s/beaker/cache
34beaker.session.data_dir = %(here)s/beaker/sessions
35
36[filter:AuthenticationFilter]
37paste.filter_app_factory = ndg.security.server.wsgi.authn:AuthNRedirectHandlerMiddleware
38prefix = authN.
39
40# Set redirect for OpenID Relying Party in the Security Services app instance
41authN.redirectURI = http://localhost:7443/verify
42
43# AuthKit Set-up
44authkit.setup.method=cookie
45authkit.cookie.secret=secret encryption string
46authkit.cookie.signoutpath = /logout
47
48[filter:PEPMiddlewareFilter]
49paste.filter_app_factory=ndg.security.server.wsgi.pep:PEPMiddleware.filter_app_factory
50prefix = pep.
51pep.pathMatchList = /test_securedURI
52
53[filter:PDPMiddlewareFilter]
54#paste.filter_app_factory=ndg.security.server.wsgi.pdp:PDPMiddleware.filter_app_factory
55#prefix = pdp.
56#paste.filter_app_factory = ndg.security.server.wsgi.pdp:PDPMiddlewareAppFactory
57paste.filter_app_factory = ndg.security.server.wsgi.pdp:PDPHandlerMiddleware.filter_app_factory
Note: See TracBrowser for help on using the repository browser.