source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/wsgi/authn/test.ini @ 5015

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/wsgi/authn/test.ini@5015
Revision 5015, 538 bytes checked in by pjkersha, 12 years ago (diff)

Authentication WSGI middleware unit tests:

  • tests middleware to redirect to authentication URI if the user is not logged in or a 401 status is set upstream
  • uses paste.fixture to test WSGI app.
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 = 5000
12
13[pipeline:main]
14pipeline = AuthNRedirectFilter
15           TestApp
16
17[app:TestApp]
18paste.app_factory = ndg.security.test.wsgi.authn.test_authn:TestAuthNMiddleware
19
20[filter:AuthNRedirectFilter]
21paste.filter_app_factory = ndg.security.server.wsgi.authn:AuthNRedirectHandlerMiddleware
22prefix = authN.
23authN.redirectURI = /redirect2here
Note: See TracBrowser for help on using the repository browser.