source: TI12-security/trunk/python/Tests/openid-provider/op/development.ini @ 4081

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/Tests/openid-provider/op/development.ini@4081
Revision 4081, 1.4 KB checked in by pjkersha, 11 years ago (diff)

First working version of an OpenID Provider as opposed to a Relying Party as avail. with AuthKit?. The code is taken from the HTTPServer example in the Python OpenID package and refactored into WSGI middleware.

  • ndg.security.server.wsgi.openid_provider - WSGI middleware package
  • Tests/openid-provider/op: pylons project test harness for the above

TODO: integrate into AuthKit? and Beaker Session Middleware as required.

RevLine 
[4081]1#
2# op - 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 = 8700
17
18[app:main]
19use = egg:op
20full_stack = true
21cache_dir = %(here)s/data
22beaker.session.key = op
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
37# Logging configuration
38[loggers]
39keys = root, op
40
41[handlers]
42keys = console
43
44[formatters]
45keys = generic
46
47[logger_root]
48level = INFO
49handlers = console
50
51[logger_op]
52level = DEBUG
53handlers =
54qualname = op
55
56[handler_console]
57class = StreamHandler
58args = (sys.stderr,)
59level = NOTSET
60formatter = generic
61
62[formatter_generic]
63format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
64datefmt = %H:%M:%S
Note: See TracBrowser for help on using the repository browser.