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

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

Refined SOAP and WS-Security WSGI middleware. TODO: pass all Attribute Authority unit tests and integrate Session Manager.

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