diff --git a/conf/templates/keystone/keystone.conf.tpl b/conf/templates/keystone/keystone.conf.tpl index 294bbfff..876617c1 100644 --- a/conf/templates/keystone/keystone.conf.tpl +++ b/conf/templates/keystone/keystone.conf.tpl @@ -52,6 +52,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 @@ -71,10 +74,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 @@ -83,10 +86,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