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

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

Major refactoring of PEP and PDP middleware:

  • moved code out of ndg.security.server.wsgi.pdp into ndg.security.server.wsgi.pep - the PDP doesn't need to be and should not be a WSGI
  • Modified PEPMiddleware to be called by via authkit.authenticate.multi.MultiHandler?.
  • New wrapper class AuthorizationMiddleware? wraps the MultiHandler?
  • TODO: delete ndg.security.server.wsgi.pdp and rename ndg.security.server.wsgi.pep package ndg.security.server.wsgi.authz
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]
14#pipeline = AuthenticationFilter
15##                 PDPMiddlewareFilter
16#                  AuthorizationFilter
17#                  AuthZTestApp
18pipeline = AuthenticationFilter
19                   AuthorizationFilter
20                   AuthZTestApp
21
22[app:AuthZTestApp]
23paste.app_factory = ndg.security.test.integration.authz.securedapp:AuthZTestMiddleware.app_factory
24
25[filter:AuthenticationFilter]
26paste.filter_app_factory = ndg.security.server.wsgi.authn:AuthenticationMiddleware
27prefix = authN.
28
29# Set redirect for OpenID Relying Party in the Security Services app instance
30authN.redirectURI = http://localhost:7443/verify
31
32# Beaker Session set-up
33beaker.session.key = ndg.security.session
34beaker.session.secret = rBIvKXLa+REYB8pM/8pdPoorVpKQuaOW
35beaker.cache.data_dir = %(here)s/authn/beaker/cache
36beaker.session.data_dir = %(here)s/authn/beaker/sessions
37
38# AuthKit Set-up
39authkit.setup.method=cookie
40
41# This cookie name and secret MUST agree with the name used by the security web
42# services app
43authkit.cookie.name=ndg.security.auth
44authkit.cookie.secret=9wvZObs9anUEhSIAnJNoY2iJq59FfYZr
45authkit.cookie.signoutpath = /logout
46
47[filter:AuthorizationFilter]
48paste.filter_app_factory=ndg.security.server.wsgi.pep:AuthorizationMiddleware.filter_app_factory
49prefix = authz.
50#authz.pep.pathMatchList = /test_securedURI
51
52#[filter:PDPMiddlewareFilter]
53##paste.filter_app_factory=ndg.security.server.wsgi.pdp:PDPMiddleware.filter_app_factory
54##prefix = pdp.
55##paste.filter_app_factory = ndg.security.server.wsgi.pdp:PDPMiddlewareAppFactory
56#paste.filter_app_factory = ndg.security.server.wsgi.pdp:PDPHandlerMiddleware.filter_app_factory
Note: See TracBrowser for help on using the repository browser.