diff options
author | wangqi <wang.qi@99cloud.net> | 2018-04-18 02:06:40 +0000 |
---|---|---|
committer | wangqi <wang.qi@99cloud.net> | 2018-04-18 02:07:11 +0000 |
commit | 708b24aef11f8a78f5bbc7c17d3199f8f8fc74c5 (patch) | |
tree | b9e50946bcc1d90826085dfa10603d91c37beaaa | |
parent | 85b52771190621ef1936e1da74f26d9ee5b69de4 (diff) | |
download | swift-708b24aef11f8a78f5bbc7c17d3199f8f8fc74c5.tar.gz |
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
-rw-r--r-- | doc/manpages/proxy-server.conf.5 | 2 | ||||
-rw-r--r-- | doc/source/install/controller-include.txt | 2 | ||||
-rw-r--r-- | doc/source/overview_auth.rst | 4 | ||||
-rw-r--r-- | etc/keymaster.conf-sample | 2 | ||||
-rw-r--r-- | 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 5f0c78662..f77a8118e 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 cf9e9d173..779b2fa7e 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 ab87bea88..ac0005ec2 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 c3ace4f00..ffecc787c 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 5e7135c34..6bdd27bef 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 |