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

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

Refactored ndg.security.test.integration.authz into a separate ndg.security.test.integration.openidrelyingparty integration test. This tests a simplified model of the planned final deployment: a secured application has a security filter which redirects authentication requests to a security services application. An OpenID Relying Party is the only piece being tested. So this test tries out Single Sign On and not any of the authorisation components.

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           TestApp
17
18[app:TestApp]
19paste.app_factory = ndg.security.test.integration.authz.securedapp:TestAuthNMiddleware
20
21#______________________________________________________________________________
22# Beaker Session Middleware (used by Authentication Filter)
23[filter:SessionMiddlewareFilter]
24paste.filter_app_factory=beaker.middleware:SessionMiddleware
25#beaker.session.key = sso
26beaker.session.secret = somesecret
27
28# If you'd like to fine-tune the individual locations of the cache data dirs
29# for the Cache data, or the Session saves, un-comment the desired settings
30# here:
31beaker.cache.data_dir = %(here)s/beaker/cache
32beaker.session.data_dir = %(here)s/beaker/sessions
33
34[filter:AuthenticationFilter]
35paste.filter_app_factory = ndg.security.server.wsgi.authn:AuthNRedirectHandlerMiddleware
36prefix = authN.
37
38# Set redirect for OpenID Relying Party in the Security Services app instance
39authN.redirectURI = http://localhost:7443/verify
40
41# AuthKit Set-up
42authkit.setup.method=cookie
43authkit.cookie.secret=secret encryption string
44authkit.cookie.signoutpath = /logout
Note: See TracBrowser for help on using the repository browser.