Add xml filter to keystone.conf
Bug #943499 Change-Id: If636705839606a28c6a6905cd11deaa1fff76438
This commit is contained in:
parent
f1a11adf2b
commit
2144ea23bb
@ -48,6 +48,9 @@ paste.filter_factory = keystone.middleware:TokenAuthMiddleware.factory
|
|||||||
[filter:admin_token_auth]
|
[filter:admin_token_auth]
|
||||||
paste.filter_factory = keystone.middleware:AdminTokenAuthMiddleware.factory
|
paste.filter_factory = keystone.middleware:AdminTokenAuthMiddleware.factory
|
||||||
|
|
||||||
|
[filter:xml_body]
|
||||||
|
paste.filter_factory = keystone.middleware:XmlBodyMiddleware.factory
|
||||||
|
|
||||||
[filter:json_body]
|
[filter:json_body]
|
||||||
paste.filter_factory = keystone.middleware:JsonBodyMiddleware.factory
|
paste.filter_factory = keystone.middleware:JsonBodyMiddleware.factory
|
||||||
|
|
||||||
@ -67,10 +70,10 @@ paste.app_factory = keystone.service:public_app_factory
|
|||||||
paste.app_factory = keystone.service:admin_app_factory
|
paste.app_factory = keystone.service:admin_app_factory
|
||||||
|
|
||||||
[pipeline:public_api]
|
[pipeline:public_api]
|
||||||
pipeline = token_auth admin_token_auth json_body debug ec2_extension s3_extension public_service
|
pipeline = token_auth admin_token_auth xml_body json_body debug ec2_extension s3_extension public_service
|
||||||
|
|
||||||
[pipeline:admin_api]
|
[pipeline:admin_api]
|
||||||
pipeline = token_auth admin_token_auth json_body debug ec2_extension crud_extension admin_service
|
pipeline = token_auth admin_token_auth xml_body json_body debug ec2_extension crud_extension admin_service
|
||||||
|
|
||||||
[app:public_version_service]
|
[app:public_version_service]
|
||||||
paste.app_factory = keystone.service:public_version_app_factory
|
paste.app_factory = keystone.service:public_version_app_factory
|
||||||
@ -79,10 +82,10 @@ paste.app_factory = keystone.service:public_version_app_factory
|
|||||||
paste.app_factory = keystone.service:admin_version_app_factory
|
paste.app_factory = keystone.service:admin_version_app_factory
|
||||||
|
|
||||||
[pipeline:public_version_api]
|
[pipeline:public_version_api]
|
||||||
pipeline = public_version_service
|
pipeline = xml_body public_version_service
|
||||||
|
|
||||||
[pipeline:admin_version_api]
|
[pipeline:admin_version_api]
|
||||||
pipeline = admin_version_service
|
pipeline = xml_body admin_version_service
|
||||||
|
|
||||||
[composite:main]
|
[composite:main]
|
||||||
use = egg:Paste#urlmap
|
use = egg:Paste#urlmap
|
||||||
|
Loading…
Reference in New Issue
Block a user