source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/attAuthority/wsgi/site-a.ini @ 4194

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/attAuthority/wsgi/site-a.ini@4194
Revision 4194, 2.5 KB checked in by pjkersha, 12 years ago (diff)

Added PasteDeploy? test harness for Attribute Authority middleware unit tests

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