diff --git a/files/keystone.conf b/files/keystone.conf index 76c618a065..d9e639fe75 100644 --- a/files/keystone.conf +++ b/files/keystone.conf @@ -48,6 +48,9 @@ paste.filter_factory = keystone.middleware:TokenAuthMiddleware.factory [filter:admin_token_auth] paste.filter_factory = keystone.middleware:AdminTokenAuthMiddleware.factory +[filter:xml_body] +paste.filter_factory = keystone.middleware:XmlBodyMiddleware.factory + [filter:json_body] 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 [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 = 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] 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 [pipeline:public_version_api] -pipeline = public_version_service +pipeline = xml_body public_version_service [pipeline:admin_version_api] -pipeline = admin_version_service +pipeline = xml_body admin_version_service [composite:main] use = egg:Paste#urlmap