summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJamie Lennox <jamielennox@gmail.com>2017-09-29 15:23:26 +1000
committerGage Hugo <gagehugo@gmail.com>2018-05-10 14:40:39 +0000
commitb39132daa08dea102f40ccba051fab0c2d96af01 (patch)
tree6b58d2865d07ebf2f0693c41ffe2e7b2fd86a5f4 /etc
parent03a616d1bf5715ac74756f2cb3aec1f09352de81 (diff)
downloadkeystone-b39132daa08dea102f40ccba051fab0c2d96af01.tar.gz
Remove the TokenAuth middleware
The entire purpose of this confusingly named middleware is to take token values out of headers and put them into a dictionary. There's no point in this, we have a request class that can abstract this for us. Deprecate the middleware, it's unnecessary. bp: deprecated-as-of-rocky Change-Id: I09310bab6bd728127288ba4c3cf8f884a31e2b98
Diffstat (limited to 'etc')
-rw-r--r--etc/keystone-paste.ini9
1 files changed, 3 insertions, 6 deletions
diff --git a/etc/keystone-paste.ini b/etc/keystone-paste.ini
index b629b48c9..79b670a05 100644
--- a/etc/keystone-paste.ini
+++ b/etc/keystone-paste.ini
@@ -9,9 +9,6 @@ use = egg:oslo.middleware#request_id
[filter:build_auth_context]
use = egg:keystone#build_auth_context
-[filter:token_auth]
-use = egg:keystone#token_auth
-
[filter:json_body]
use = egg:keystone#json_body
@@ -55,17 +52,17 @@ use = egg:keystone#admin_service
[pipeline:public_api]
# The last item in this pipeline must be public_service or an equivalent
# application. It cannot be a filter.
-pipeline = healthcheck cors sizelimit http_proxy_to_wsgi osprofiler url_normalize request_id build_auth_context token_auth json_body ec2_extension public_service
+pipeline = healthcheck cors sizelimit http_proxy_to_wsgi osprofiler url_normalize request_id build_auth_context json_body ec2_extension public_service
[pipeline:admin_api]
# The last item in this pipeline must be admin_service or an equivalent
# application. It cannot be a filter.
-pipeline = healthcheck cors sizelimit http_proxy_to_wsgi osprofiler url_normalize request_id build_auth_context token_auth json_body ec2_extension s3_extension admin_service
+pipeline = healthcheck cors sizelimit http_proxy_to_wsgi osprofiler url_normalize request_id build_auth_context json_body ec2_extension s3_extension admin_service
[pipeline:api_v3]
# The last item in this pipeline must be service_v3 or an equivalent
# application. It cannot be a filter.
-pipeline = healthcheck cors sizelimit http_proxy_to_wsgi osprofiler url_normalize request_id build_auth_context token_auth json_body ec2_extension_v3 s3_extension service_v3
+pipeline = healthcheck cors sizelimit http_proxy_to_wsgi osprofiler url_normalize request_id build_auth_context json_body ec2_extension_v3 s3_extension service_v3
[app:public_version_service]
use = egg:keystone#public_version_service