From 708b24aef11f8a78f5bbc7c17d3199f8f8fc74c5 Mon Sep 17 00:00:00 2001 From: wangqi Date: Wed, 18 Apr 2018 02:06:40 +0000 Subject: [PATCH] Deprecate auth_uri option Option auth_uri from group keystone_authtoken is deprecated[1]. Use option www_authenticate_uri from group keystone_authtoken. [1]https://review.openstack.org/#/c/508522/ Change-Id: I43bbc8b8c986e54a9a0829a0631d78d4077306f8 --- doc/manpages/proxy-server.conf.5 | 2 +- doc/source/install/controller-include.txt | 2 +- doc/source/overview_auth.rst | 4 ++-- etc/keymaster.conf-sample | 2 +- etc/proxy-server.conf-sample | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/manpages/proxy-server.conf.5 b/doc/manpages/proxy-server.conf.5 index 5f0c78662a..f77a8118ed 100644 --- a/doc/manpages/proxy-server.conf.5 +++ b/doc/manpages/proxy-server.conf.5 @@ -299,7 +299,7 @@ for other examples. .PD 0 .RS 10 .IP "paste.filter_factory = keystonemiddleware.auth_token:filter_factory" -.IP "auth_uri = http://keystonehost:5000" +.IP "www_authenticate_uri = http://keystonehost:5000" .IP "auth_url = http://keystonehost:35357" .IP "auth_plugin = password" .IP "project_domain_id = default" diff --git a/doc/source/install/controller-include.txt b/doc/source/install/controller-include.txt index cf9e9d1735..779b2fa7e9 100644 --- a/doc/source/install/controller-include.txt +++ b/doc/source/install/controller-include.txt @@ -55,7 +55,7 @@ following actions: [filter:authtoken] paste.filter_factory = keystonemiddleware.auth_token:filter_factory ... - auth_uri = http://controller:5000 + www_authenticate_uri = http://controller:5000 auth_url = http://controller:35357 memcached_servers = controller:11211 auth_type = password diff --git a/doc/source/overview_auth.rst b/doc/source/overview_auth.rst index ab87bea881..ac0005ec2e 100644 --- a/doc/source/overview_auth.rst +++ b/doc/source/overview_auth.rst @@ -138,7 +138,7 @@ add the configuration for the authtoken middleware:: [filter:authtoken] paste.filter_factory = keystonemiddleware.auth_token:filter_factory - auth_uri = http://keystonehost:5000/ + www_authenticate_uri = http://keystonehost:5000/ auth_url = http://keystonehost:35357/ auth_plugin = password project_domain_id = default @@ -153,7 +153,7 @@ add the configuration for the authtoken middleware:: The actual values for these variables will need to be set depending on your situation, but in short: -* ``auth_uri`` should point to a Keystone service from which users may +* ``www_authenticate_uri`` should point to a Keystone service from which users may retrieve tokens. This value is used in the `WWW-Authenticate` header that auth_token sends with any denial response. * ``auth_url`` points to the Keystone Admin service. This information is diff --git a/etc/keymaster.conf-sample b/etc/keymaster.conf-sample index c3ace4f009..ffecc787c4 100644 --- a/etc/keymaster.conf-sample +++ b/etc/keymaster.conf-sample @@ -52,7 +52,7 @@ # project_id = changeme # The Keystone URL to authenticate to. The value of auth_endpoint may be -# set according to the value of auth_uri in [filter:authtoken] in +# set according to the value of www_authenticate_uri in [filter:authtoken] in # proxy-server.conf. # auth_endpoint = http://keystonehost/identity diff --git a/etc/proxy-server.conf-sample b/etc/proxy-server.conf-sample index 5e7135c34b..6bdd27befc 100644 --- a/etc/proxy-server.conf-sample +++ b/etc/proxy-server.conf-sample @@ -361,7 +361,7 @@ user_test5_tester5 = testing5 service # # [filter:authtoken] # paste.filter_factory = keystonemiddleware.auth_token:filter_factory -# auth_uri = http://keystonehost:5000 +# www_authenticate_uri = http://keystonehost:5000 # auth_url = http://keystonehost:35357 # auth_plugin = password # The following credentials must match the Keystone credentials for the Swift