source: TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/integration/openidrelyingparty/securityservices.ini @ 7077

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg-security/TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/integration/openidrelyingparty/securityservices.ini@7077
Revision 7077, 4.5 KB checked in by pjkersha, 11 years ago (diff)
  • Property svn:keywords set to Id
Line 
1#
2# NERC DataGrid Security
3#
4# Paste configuration for authorization integration tests
5#
6# The %(here)s variable will be replaced with the parent directory of this file
7#
8# Author: P J Kershaw
9# date: 05/02/09
10# Copyright: (C) 2009 Science and Technology Facilities Council
11# license: BSD - see LICENSE file in top-level directory
12# Contact: Philip.Kershaw@stfc.ac.uk
13# Revision: $Id$
14
15[DEFAULT]
16portNum = 6443
17hostname = localhost
18scheme = http
19baseURI = %(scheme)s://%(hostname)s:%(portNum)s
20testConfigDir = %(here)s/../../config
21beakerSessionKeyName = beaker.session.ndg.security.services
22
23[server:main]
24use = egg:Paste#http
25host = 0.0.0.0
26port = %(portNum)s
27
28[pipeline:main]
29pipeline = SessionMiddlewareFilter
30                   OpenIDRelyingPartyApp
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# Key name for keying into environ dictionary
46environ_key = %(beakerSessionKeyName)s
47
48[app:OpenIDRelyingPartyApp]
49paste.app_factory = 
50        ndg.security.server.wsgi.openid.relyingparty:OpenIDRelyingPartyMiddleware.app_factory
51
52openid.relyingparty.baseURL = %(authkit.openid.baseurl)s
53openid.relyingparty.certFilePath = %(testConfigDir)s/pki/localhost.crt
54openid.relyingparty.priKeyFilePath = %(testConfigDir)s/pki/localhost.key
55openid.relyingparty.priKeyPwd = 
56openid.relyingparty.caCertDirPath = %(testConfigDir)s/ca
57openid.relyingparty.providerWhitelistFilePath =
58openid.relyingparty.signinInterfaceMiddlewareClass = ndg.security.server.wsgi.openid.relyingparty.signin_interface.buffet.BuffetSigninTemplate
59openid.relyingparty.signinInterface.templatePackage = ndg.security.server.wsgi.openid.relyingparty.signin_interface.buffet.templates
60openid.relyingparty.signinInterface.staticContentRootDir = %(here)s/openidrelyingparty/public
61openid.relyingparty.signinInterface.baseURL = %(openid.relyingparty.baseURL)s
62openid.relyingparty.signinInterface.leftLogo = %(openid.relyingparty.signinInterface.baseURL)s/layout/NERC_Logo.gif
63openid.relyingparty.signinInterface.leftAlt = Natural Environment Research Council
64openid.relyingparty.signinInterface.ndgLink = http://ndg.nerc.ac.uk/
65openid.relyingparty.signinInterface.ndgImage = %(openid.relyingparty.signinInterface.baseURL)s/layout/ndg_logo_circle.gif
66openid.relyingparty.signinInterface.disclaimer = This site is for test purposes only and is under active development.
67openid.relyingparty.signinInterface.stfcLink = http://www.stfc.ac.uk/
68openid.relyingparty.signinInterface.stfcImage = %(openid.relyingparty.signinInterface.baseURL)s/layout/stfc-circle-sm.gif
69openid.relyingparty.signinInterface.helpIcon = %(openid.relyingparty.signinInterface.baseURL)s/layout/icons/help.png
70
71cache_dir = %(here)s/data
72
73# AuthKit Set-up
74authkit.setup.method=openid, cookie
75
76# This cookie name and secret MUST agree with the name used by the
77# Authentication Filter used to secure a given app
78authkit.cookie.name=ndg.security.auth
79
80authkit.cookie.secret=9wvZObs9anUEhSIAnJNoY2iJq59FfYZr
81authkit.cookie.signoutpath = /logout
82
83# Disable inclusion of client IP address from cookie signature due to
84# suspected problem with AuthKit setting it when a HTTP Proxy is in place
85authkit.cookie.includeip = False
86
87authkit.openid.path.signedin=/
88authkit.openid.store.type=file
89authkit.openid.store.config=%(here)s/openidrelyingparty/store
90authkit.openid.session.key = authkit_openid
91authkit.openid.session.secret = random string
92
93# Key name for dereferencing beaker.session object held in environ
94authkit.openid.session.middleware = %(beakerSessionKeyName)s
95
96authkit.openid.baseurl = %(baseURI)s
97
98# Template for signin
99#authkit.openid.template.obj =
100
101# Handler for parsing OpenID and creating a session from it
102#authkit.openid.urltouser =
103
104
105# Logging configuration
106[loggers]
107keys = root, ndg
108
109[handlers]
110keys = console
111
112[formatters]
113keys = generic
114
115[logger_root]
116level = INFO
117handlers = console
118
119[logger_ndg]
120level = DEBUG
121handlers =
122qualname = ndg
123
124[handler_console]
125class = StreamHandler
126args = (sys.stderr,)
127level = NOTSET
128formatter = generic
129
130[formatter_generic]
131format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
132datefmt = %H:%M:%S
133
Note: See TracBrowser for help on using the repository browser.