source: TI12-security/trunk/python/ndg.security.server/ndg/security/server/sso/development.ini @ 3914

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.server/ndg/security/server/sso/development.ini@3914
Revision 3914, 2.4 KB checked in by pjkersha, 12 years ago (diff)
  • New ndg.security.common.zsi_util.httpproxy.ProxyHTTPConnection class replaces urllib2client - easier to fit into existing ZSI client framework.
  • Further OpenID integration into Single Sign On Service. User now authenticates OK but patches needed to AuthKit? + need to handle return_to URL dynamically according to page visited before WAYF call.
Line 
1#
2# sso - 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 = 4000
17
18[app:main]
19use = egg:sso
20full_stack = true
21cache_dir = %(here)s/data
22beaker.session.key = sso
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
31authkit.setup.method=openid, cookie
32authkit.cookie.secret=secret encryption string
33authkit.cookie.signoutpath = /openidsignout
34authkit.openid.path.signedin=/login
35authkit.openid.store.type=file
36authkit.openid.store.config=%(here)s/data/openid
37#authkit.openid.path.process=/login
38
39# Copied from http://wiki.pylonshq.com/display/authkitcookbook/OpenID+Passurl
40#authkit.openid.session.middleware = beaker.session
41authkit.openid.session.key = authkit_openid
42authkit.openid.session.secret = random string
43
44# This is optional - see:
45# http://wiki.pylonshq.com/display/authkitcookbook/OpenID+Passurl
46authkit.openid.baseurl = http://localhost/sso
47
48# Template for signin
49authkit.openid.template.obj = sso.lib.openid_util:make_template
50
51# Handler for parsing OpenID and creating a session from it
52authkit.openid.urltouser = sso.lib.openid_util:url2user
53
54# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
55# Debug mode will enable the interactive debugging tool, allowing ANYONE to
56# execute malicious code after an exception is raised.
57#set debug = false
58
59configfile = %(here)s/sso.cfg
60
61
62# Logging configuration
63[loggers]
64keys = root, sso, ndg
65
66[handlers]
67keys = console
68
69[formatters]
70keys = generic
71
72[logger_root]
73level = INFO
74handlers = console
75
76[logger_sso]
77level = DEBUG
78handlers =
79qualname = sso
80
81[logger_authkit]
82level = DEBUG
83handlers =
84qualname = authkit
85
86[logger_ndg]
87level = DEBUG
88handlers =
89qualname = ndg
90
91[handler_console]
92class = StreamHandler
93args = (sys.stderr,)
94level = NOTSET
95formatter = generic
96
97[formatter_generic]
98format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
99datefmt = %H:%M:%S
Note: See TracBrowser for help on using the repository browser.