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

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

Fixes to SOAP and WS-Security middleware, added SOAP fault handling for exceptions

RevLine 
[3942]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
[4159]12wsseCfgFilePath = ./wssecurity.cfg
[3942]13
14[server:main]
15use = egg:Paste#http
16host = 0.0.0.0
[4152]17port = 5000
[3942]18
[4020]19[app:main1]
[3942]20use = egg:ndgsecurity
21full_stack = true
22cache_dir = %(here)s/data
23beaker.session.key = ndgsecurity
24beaker.session.secret = somesecret
25
[4020]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
[4152]33path = /AttributeAuthority
34enableWSDLQuery = True
[4171]35charset = utf-8
[4020]36
37[filter:wsseSignatureVerificationFilter]
38paste.filter_app_factory = ndg.security.server.wsgi.wssecurity:makeSignatureVerificationFilter
39
40[filter:wsseSignatureFilter]
41paste.filter_app_factory = ndg.security.server.wsgi.wssecurity:makeSignatureFilter
42
[3942]43# If you'd like to fine-tune the individual locations of the cache data dirs
44# for the Cache data, or the Session saves, un-comment the desired settings
45# here:
46#beaker.cache.data_dir = %(here)s/data/cache
47#beaker.session.data_dir = %(here)s/data/sessions
48
49# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
50# Debug mode will enable the interactive debugging tool, allowing ANYONE to
51# execute malicious code after an exception is raised.
52#set debug = false
53
54
55# Logging configuration
56[loggers]
[4171]57keys = root, ndgsecurity, ndg
[3942]58
59[handlers]
60keys = console
61
62[formatters]
63keys = generic
64
65[logger_root]
66level = INFO
67handlers = console
68
69[logger_ndgsecurity]
70level = DEBUG
71handlers =
72qualname = ndgsecurity
73
[4159]74[logger_ndg]
75level = DEBUG
76handlers =
77qualname = ndg
78
[3942]79[handler_console]
80class = StreamHandler
81args = (sys.stderr,)
82level = NOTSET
83formatter = generic
84
85[formatter_generic]
86format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
87datefmt = %H:%M:%S
Note: See TracBrowser for help on using the repository browser.