source: TI12-security/trunk/python/Tests/pylonsAttributeAuthority/ndgsecurity/development.ini @ 4020

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/Tests/pylonsAttributeAuthority/ndgsecurity/development.ini@4020
Revision 4020, 2.1 KB checked in by pjkersha, 11 years ago (diff)

More work on WSGI SOAPMiddleware

  • Moved soap and wssecurity middleware modules to ndg.security.server.wsgi
  • ... and ZSI Attribute Service Binding to ndg.security.server.zsi
  • test harness - pylons ndgsecurity in Test/ now works with Paste pipeline in ini to enable dynamic config for WS-Security handlers
Line 
1#
2# ndgsecurity - 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
12wsseCfgFilePath=wssecurity.cfg
13
14[server:main]
15use = egg:Paste#http
16host = 0.0.0.0
17port = 5010
18
19[app:main1]
20use = egg:ndgsecurity
21full_stack = true
22cache_dir = %(here)s/data
23beaker.session.key = ndgsecurity
24beaker.session.secret = somesecret
25
26[pipeline:main]
27pipeline = wsseSignatureVerificationFilter AttributeAuthorityFilter wsseSignatureFilter main1
28
29
30[filter:AttributeAuthorityFilter]
31paste.filter_app_factory = ndg.security.server.wsgi.soap:SOAPMiddleware
32ServiceSOAPBindingClass = ndg.security.server.zsi.attributeauthority.AttributeAuthorityWS
33pathInfo = /AttributeAuthority
34
35[filter:wsseSignatureVerificationFilter]
36paste.filter_app_factory = ndg.security.server.wsgi.wssecurity:makeSignatureVerificationFilter
37
38[filter:wsseSignatureFilter]
39paste.filter_app_factory = ndg.security.server.wsgi.wssecurity:makeSignatureFilter
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
53# Logging configuration
54[loggers]
55keys = root, ndgsecurity
56
57[handlers]
58keys = console
59
60[formatters]
61keys = generic
62
63[logger_root]
64level = INFO
65handlers = console
66
67[logger_ndgsecurity]
68level = DEBUG
69handlers =
70qualname = ndgsecurity
71
72[handler_console]
73class = StreamHandler
74args = (sys.stderr,)
75level = NOTSET
76formatter = generic
77
78[formatter_generic]
79format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
80datefmt = %H:%M:%S
Note: See TracBrowser for help on using the repository browser.