summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-12-15 22:08:45 +0000
committerGerrit Code Review <review@openstack.org>2016-12-15 22:08:45 +0000
commitec5dff64baafa35efac1ba8bd3ce70b2c15f51ae (patch)
treee17719efaf06eee00ce45017b7c2c8350e8c4145 /etc
parent6e999a167898450d1d0592208a13b5181b5a9bfb (diff)
parent43af5e45c71dbab812cd48f2f536f7f70ef23000 (diff)
downloadheat-ec5dff64baafa35efac1ba8bd3ce70b2c15f51ae.tar.gz
Merge "Add noauth middleware"
Diffstat (limited to 'etc')
-rw-r--r--etc/heat/api-paste.ini11
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/heat/api-paste.ini b/etc/heat/api-paste.ini
index b1068efd8..986a4a252 100644
--- a/etc/heat/api-paste.ini
+++ b/etc/heat/api-paste.ini
@@ -22,6 +22,13 @@ pipeline = cors request_id faultwrap http_proxy_to_wsgi versionnegotiation authu
[pipeline:heat-api-custombackend]
pipeline = cors request_id faultwrap versionnegotiation context custombackendauth apiv1app
+# To enable, in heat.conf:
+# [paste_deploy]
+# flavor = noauth
+#
+[pipeline:heat-api-noauth]
+pipeline = cors request_id faultwrap http_proxy_to_wsgi versionnegotiation noauth context apiv1app
+
# heat-api-cfn pipeline
[pipeline:heat-api-cfn]
pipeline = cors http_proxy_to_wsgi cfnversionnegotiation osprofiler ec2authtoken authtoken context apicfnv1app
@@ -97,6 +104,10 @@ paste.filter_factory = heat.common.auth_password:filter_factory
[filter:custombackendauth]
paste.filter_factory = heat.common.custom_backend_auth:filter_factory
+# Auth middleware that accepts any auth
+[filter:noauth]
+paste.filter_factory = heat.common.noauth:filter_factory
+
# Middleware to set x-openstack-request-id in http response header
[filter:request_id]
paste.filter_factory = oslo_middleware.request_id:RequestId.factory