source: TI12-security/trunk/python/ndg.security.server/ndg/security/server/pylons/development.ini @ 4125

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg-security/TI12-security/trunk/python/ndg.security.server/ndg/security/server/pylons/development.ini@4125
Revision 4125, 3.1 KB checked in by pjkersha, 12 years ago (diff)

ndg.security.server.wsgi.openid_provider: fixes for setting custom paths
ndg.security.server.pylons.container: generic pylons project to contain security services: OpenID Provider, Attribute Authority and Session Manager

Line 
1#
2# container - Pylons development environment configuration
3#
4# The %(here)s variable will be replaced with the parent directory of this file
5#
6[DEFAULT]
7debug = true
8# Uncomment and replace with the address which should receive any error reports
9#email_to = you@yourdomain.com
10smtp_server = localhost
11error_email_from = paste@localhost
12
13# Layout
14server = http://localhost:5000
15LeftLogo = %(server)s/layout/NERC_Logo.gif
16LeftAlt = Natural Environment Research Council
17ndgLink = http://ndg.nerc.ac.uk/
18ndgImage = %(server)s/layout/ndg_logo_circle.gif
19disclaimer = 
20stfcLink = http://ceda.stfc.ac.uk/
21stfcImage = %(server)s/layout/stfc-circle-sm.gif
22helpIcon = %(server)s/layout/icons/help.png
23
24[server:main]
25use = egg:Paste#http
26host = 0.0.0.0
27port = 5000
28
29[app:main]
30#use = egg:ndg_security_server
31use = egg:container
32full_stack = true
33cache_dir = %(here)s/data
34beaker.session.key = container
35beaker.session.secret = somesecret
36
37authkit.setup.method = form, cookie
38authkit.form.authenticate.user.data = visitor:open_sesame
39authkit.cookie.secret = secret string
40
41# If you'd like to fine-tune the individual locations of the cache data dirs
42# for the Cache data, or the Session saves, un-comment the desired settings
43# here:
44#beaker.cache.data_dir = %(here)s/data/cache
45#beaker.session.data_dir = %(here)s/data/sessions
46
47# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
48# Debug mode will enable the interactive debugging tool, allowing ANYONE to
49# execute malicious code after an exception is raised.
50#set debug = false
51
52# OpenID Provider
53#openid_provider.path.openidserver=/openidserver
54#openid_provider.path.login=/login
55#openid_provider.path.loginsubmit=/loginsubmit
56#openid_provider.path.id=/id
57#openid_provider.path.yadis=/yadis
58#openid_provider.path.serveryadis=/serveryadis
59#openid_provider.path.allow=/allow
60#openid_provider.path.decide=/decide
61#openid_provider.path.mainpage=/
62
63openid_provider.path.openidserver=/openid/openidserver
64openid_provider.path.login=/openid/login
65openid_provider.path.loginsubmit=/openid/loginsubmit
66openid_provider.path.id=/openid/id
67openid_provider.path.yadis=/openid/yadis
68openid_provider.path.serveryadis=/openid/serveryadis
69openid_provider.path.allow=/openid/allow
70openid_provider.path.decide=/openid/decide
71openid_provider.path.mainpage=/openid
72openid_provider.session_middleware=beaker.session
73openid_provider.base_url=http://localhost:5000
74openid_provider.consumer_store_dirpath=./
75openid_provider.charset=None
76openid_provider.trace=False
77openid_provider.renderingClass=ndg.security.server.pylons.container.lib.openid_provider_util.OpenIDProviderKidRendering
78openid_provider.getSRegData=
79
80# Logging configuration
81[loggers]
82keys = root, container, ndg
83
84[handlers]
85keys = console
86
87[formatters]
88keys = generic
89
90[logger_root]
91level = INFO
92handlers = console
93
94[logger_container]
95level = DEBUG
96handlers =
97qualname = container
98
99[logger_ndg]
100level = DEBUG
101handlers =
102qualname = ndg
103
104[handler_console]
105class = StreamHandler
106args = (sys.stderr,)
107level = NOTSET
108formatter = generic
109
110[formatter_generic]
111format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
112datefmt = %H:%M:%S
113
Note: See TracBrowser for help on using the repository browser.