source: TI12-security/trunk/NDGSecurity/python/Tests/authtest/development.ini @ 7080

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/NDGSecurity/python/Tests/authtest/development.ini@7080
Revision 7080, 2.4 KB checked in by pjkersha, 9 years ago (diff)
  • Property svn:keywords set to Id
Line 
1#
2# authtest - 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[server:main]
14use = egg:Paste#http
15host = 0.0.0.0
16port = 5100
17
18[app:main]
19use = egg:authtest
20full_stack = true
21cache_dir = %(here)s/data
22beaker.session.key = authtest
23beaker.session.secret = somesecret
24
25# If you'd like to fine-tune the individual locations of the cache data dirs
26# for the Cache data, or the Session saves, un-comment the desired settings
27# here:
28#beaker.cache.data_dir = %(here)s/data/cache
29#beaker.session.data_dir = %(here)s/data/sessions
30
31# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
32# Debug mode will enable the interactive debugging tool, allowing ANYONE to
33# execute malicious code after an exception is raised.
34#set debug = false
35
36#authkit.setup.method = form, cookie
37#authkit.form.authenticate.user.data = visitor:open_sesame
38#                                                                       nobody:password
39#authkit.cookie.secret = secret string
40#authkit.cookie.signoutpath = /auth/signout
41
42authkit.setup.method=openid, cookie
43authkit.cookie.secret=secret encryption string
44authkit.cookie.signoutpath = /auth/signout
45authkit.openid.path.signedin=/
46authkit.openid.store.type=file
47authkit.openid.store.config=%(here)s/data/openid
48
49# Copied from http://wiki.pylonshq.com/display/authkitcookbook/OpenID+Passurl
50#authkit.openid.session.middleware = beaker.session
51#authkit.openid.session.key = authkit_openid
52#authkit.openid.session.secret = random string
53
54# This is optional - see:
55# http://wiki.pylonshq.com/display/authkitcookbook/OpenID+Passurl
56authkit.openid.baseurl = http://localhost:5100
57
58# Template for signin
59authkit.openid.template.obj = authtest.lib.template:make_template
60
61# Logging configuration
62[loggers]
63keys = root, authtest, authkit
64
65[handlers]
66keys = console
67
68[formatters]
69keys = generic
70
71[logger_root]
72level = INFO
73handlers = console
74
75[logger_authtest]
76level = DEBUG
77handlers =
78qualname = authtest
79
80[logger_authkit]
81level = DEBUG
82handlers =
83qualname = authkit
84
85[handler_console]
86class = StreamHandler
87args = (sys.stderr,)
88level = NOTSET
89formatter = generic
90
91[formatter_generic]
92format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
93datefmt = [%H:%M:%S]
Note: See TracBrowser for help on using the repository browser.