source: TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/wsgi/authn/test.ini @ 7077

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg-security/TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/unit/wsgi/authn/test.ini@7077
Revision 7077, 1.8 KB checked in by pjkersha, 11 years ago (diff)
  • Property svn:keywords set to Id
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]
7beakerSessionKeyName = beaker.session.ndg.security
8
9[server:main]
10use = egg:Paste#http
11host = 0.0.0.0
12port = 5000
13
14[pipeline:main]
15pipeline = BeakerSessionFilter AuthnRedirectInitiatorFilter TestApp
16
17[app:TestApp]
18paste.app_factory = ndg.security.test.unit.wsgi.authn.test_authn:TestAuthnApp
19
20[filter:BeakerSessionFilter]
21paste.filter_app_factory = beaker.middleware:SessionMiddleware
22
23# Cookie name
24beaker.session.key = ndg.security.session
25
26# WSGI environ key name
27environ_key = %(beakerSessionKeyName)s
28beaker.session.secret = rBIvKXLa+REYB8pM/8pdPoorVpKQuaOW
29beaker.cache.data_dir = %(here)s/authn/beaker/cache
30beaker.session.data_dir = %(here)s/authn/beaker/sessions
31
32
33# Redirect HTTPS based endpoint for SSL client Based authentication
34[filter:AuthnRedirectInitiatorFilter]
35paste.filter_app_factory = ndg.security.server.wsgi.authn:AuthenticationMiddleware
36prefix = authN.
37authN.redirectURI = /redirect2Here
38#authN.redirectURI = http://localhost:5800/verify
39
40# AuthKit Set-up
41authkit.setup.method=cookie
42
43# This cookie name and secret MUST agree with the name used by the security web
44# services app
45authkit.cookie.name=ndg.security.auth
46authkit.cookie.secret=9wvZObs9anUEhSIAnJNoY2iJq59FfYZr
47authkit.cookie.signoutpath = /logout
48
49# Disable inclusion of client IP address from cookie signature due to
50# suspected problem with AuthKit setting it when a HTTP Proxy is in place
51authkit.cookie.includeip = False
52
53# environ key name for beaker session
54authkit.session.middleware = %(beakerSessionKeyName)s
55
56#[filter:AuthNRedirectFilter]
57#paste.filter_app_factory = ndg.security.server.wsgi.authn:AuthnRedirectInitiatorMiddleware
58#prefix = authN.
59#authN.redirectURI = /redirect2Here
60##authN.redirectURI = http://localhost:5800/verify
Note: See TracBrowser for help on using the repository browser.