source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/openidrelyingparty/services.ini @ 4907

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/openidrelyingparty/services.ini@4907
Revision 4907, 3.9 KB checked in by pjkersha, 11 years ago (diff)
  • Single Sign On Service logout controller: fixed WSGI Session Manager client instantiation - added Session Manager environ key arg
  • Completed OpenIDRelyingPartyMiddleware - wraps Authkit OpenID RP code adding a custom signin template and logout capability.
Line 
1#
2# NERC DataGrid Security
3#
4# Paste configuration for OpenID Relying Party test service
5# * Session Manager
6# * Attribute Authority
7#
8# The %(here)s variable will be replaced with the parent directory of this file
9#
10# Author: P J Kershaw
11# date: 21/01/09
12# Copyright: (C) 2009 Science and Technology Facilities Council
13# license: BSD - see LICENSE file in top-level directory
14# Contact: Philip.Kershaw@stfc.ac.uk
15# Revision: $Id$
16
17[DEFAULT]
18
19[server:main]
20use = egg:Paste#http
21host = 0.0.0.0
22port = 5600
23
24[pipeline:main]
25pipeline = SessionMiddlewareFilter
26                   OpenIDRelyingPartyFilter
27           mainApp
28
29[app:mainApp]
30paste.app_factory = ndg.security.test.openidrelyingparty.serverapp:app_factory
31
32#______________________________________________________________________________
33# Beaker Session Middleware (used by OpenID Provider Filter)
34[filter:SessionMiddlewareFilter]
35paste.filter_app_factory=beaker.middleware:SessionMiddleware
36#beaker.session.key = sso
37beaker.session.secret = somesecret
38
39# If you'd like to fine-tune the individual locations of the cache data dirs
40# for the Cache data, or the Session saves, un-comment the desired settings
41# here:
42beaker.cache.data_dir = %(here)s/beaker/cache
43beaker.session.data_dir = %(here)s/beaker/sessions
44
45[filter:OpenIDRelyingPartyFilter]
46paste.filter_app_factory = 
47        ndg.security.server.wsgi.openid.relyingparty:OpenIDRelyingPartyMiddleware.filter_app_factory
48
49openid.relyingparty.sessionKey = beaker.session
50openid.relyingparty.baseURL = http://localhost:5600
51openid.relyingparty.reservedPaths = %(authkit.openid.path.process)s, %(authkit.openid.path.verify)s
52openid.relyingparty.signinInterfaceMiddlewareClass = ndg.security.server.wsgi.openid.relyingparty.signin_interface.buffet.BuffetSigninTemplate
53openid.relyingparty.signinInterface.templatePackage = ndg.security.server.wsgi.openid.relyingparty.signin_interface.buffet.templates
54openid.relyingparty.signinInterface.staticContentRootDir = %(here)s/public
55openid.relyingparty.signinInterface.baseURL = %(openid.relyingparty.baseURL)s
56openid.relyingparty.signinInterface.leftLogo = %(openid.relyingparty.signinInterface.baseURL)s/layout/NERC_Logo.gif
57openid.relyingparty.signinInterface.leftAlt = Natural Environment Research Council
58openid.relyingparty.signinInterface.ndgLink = http://ndg.nerc.ac.uk/
59openid.relyingparty.signinInterface.ndgImage = %(openid.relyingparty.signinInterface.baseURL)s/layout/ndg_logo_circle.gif
60openid.relyingparty.signinInterface.disclaimer = This site is for test purposes only and is under active development.
61openid.relyingparty.signinInterface.stfcLink = http://www.stfc.ac.uk/
62openid.relyingparty.signinInterface.stfcImage = %(openid.relyingparty.signinInterface.baseURL)s/layout/stfc-circle-sm.gif
63openid.relyingparty.signinInterface.helpIcon = %(openid.relyingparty.signinInterface.baseURL)s/layout/icons/help.png
64
65cache_dir = %(here)s/data
66
67# AuthKit Set-up
68authkit.setup.method=openid, cookie
69authkit.cookie.secret=secret encryption string
70authkit.cookie.signoutpath = /logout
71authkit.openid.path.signedin=/
72#authkit.openid.path.process=/PROCESS
73#authkit.openid.path.verify=/VERIFY
74authkit.openid.path.process=/process
75authkit.openid.path.verify=/verify
76authkit.openid.store.type=file
77authkit.openid.store.config=%(here)s/data/openid
78authkit.openid.session.key = authkit_openid
79authkit.openid.session.secret = random string
80
81authkit.openid.baseurl = http://localhost:5600
82
83# Template for signin
84#authkit.openid.template.obj =
85
86# Handler for parsing OpenID and creating a session from it
87#authkit.openid.urltouser =
88
89
90# Logging configuration
91[loggers]
92keys = root, ndg
93
94[handlers]
95keys = console
96
97[formatters]
98keys = generic
99
100[logger_root]
101level = INFO
102handlers = console
103
104[logger_ndg]
105level = DEBUG
106handlers =
107qualname = ndg
108
109[handler_console]
110class = StreamHandler
111args = (sys.stderr,)
112level = NOTSET
113formatter = generic
114
115[formatter_generic]
116format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
117datefmt = %H:%M:%S
118
Note: See TracBrowser for help on using the repository browser.