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

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

Changed ndgPage.kid in pylons container to allow for Pylons 0.9.7 - some helpers have moved to a sub-package 'rails'

ndg.security.server.wsgi.soap,
ndg.security.server.wsgi.wssecurity: more work on SOAP middleware - add filtering for GET reqests

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: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
33path = /AttributeAuthority
34enableWSDLQuery = True
35
36[filter:wsseSignatureVerificationFilter]
37paste.filter_app_factory = ndg.security.server.wsgi.wssecurity:makeSignatureVerificationFilter
38
39[filter:wsseSignatureFilter]
40paste.filter_app_factory = ndg.security.server.wsgi.wssecurity:makeSignatureFilter
41
42# If you'd like to fine-tune the individual locations of the cache data dirs
43# for the Cache data, or the Session saves, un-comment the desired settings
44# here:
45#beaker.cache.data_dir = %(here)s/data/cache
46#beaker.session.data_dir = %(here)s/data/sessions
47
48# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
49# Debug mode will enable the interactive debugging tool, allowing ANYONE to
50# execute malicious code after an exception is raised.
51#set debug = false
52
53
54# Logging configuration
55[loggers]
56keys = root, ndgsecurity
57
58[handlers]
59keys = console
60
61[formatters]
62keys = generic
63
64[logger_root]
65level = INFO
66handlers = console
67
68[logger_ndgsecurity]
69level = DEBUG
70handlers =
71qualname = ndgsecurity
72
73[handler_console]
74class = StreamHandler
75args = (sys.stderr,)
76level = NOTSET
77formatter = generic
78
79[formatter_generic]
80format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
81datefmt = %H:%M:%S
Note: See TracBrowser for help on using the repository browser.