Revise docs to use keystoneclient.middleware.auth_token
Change-Id: Ic6caf991cb3eda359658ea679b0fd2f75180c2a9
This commit is contained in:
parent
45228caa73
commit
050ad91b07
@ -192,7 +192,7 @@ Here is an example paste config filter that makes use of the 'admin_user' and
|
||||
'admin_password' parameters::
|
||||
|
||||
[filter:authtoken]
|
||||
paste.filter_factory = keystone.middleware.auth_token:filter_factory
|
||||
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
|
||||
auth_port = 35357
|
||||
auth_host = 127.0.0.1
|
||||
auth_token = 012345SECRET99TOKEN012345
|
||||
@ -208,7 +208,7 @@ The auth_token middleware can also be configured in nova.conf
|
||||
parameters::
|
||||
|
||||
[filter:authtoken]
|
||||
paste.filter_factory = keystone.middleware.auth_token:filter_factory
|
||||
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
|
||||
|
||||
and in nova.conf::
|
||||
|
||||
|
@ -33,8 +33,8 @@ OpenStack projects based on the WSGI standard.
|
||||
|
||||
For the architecture of keystone and its services, please see
|
||||
:doc:`architecture`. This documentation primarily describes the implementation
|
||||
in ``keystone/middleware/auth_token.py``
|
||||
(:py:class:`keystone.middleware.auth_token.AuthProtocol`)
|
||||
in ``keystoneclient/middleware/auth_token.py``
|
||||
(:py:class:`keystoneclient.middleware.auth_token.AuthProtocol`)
|
||||
|
||||
Specification Overview
|
||||
======================
|
||||
@ -122,7 +122,7 @@ a WSGI component. Example for the auth_token middleware::
|
||||
pipeline = tokenauth myService
|
||||
|
||||
[filter:tokenauth]
|
||||
paste.filter_factory = keystone.middleware.auth_token:filter_factory
|
||||
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
|
||||
auth_host = 127.0.0.1
|
||||
auth_port = 35357
|
||||
auth_protocol = http
|
||||
@ -143,7 +143,7 @@ config file. For example in Nova, all middleware parameters can be removed
|
||||
from api-paste.ini::
|
||||
|
||||
[filter:authtoken]
|
||||
paste.filter_factory = keystone.middleware.auth_token:filter_factory
|
||||
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
|
||||
|
||||
and set in nova.conf::
|
||||
|
||||
@ -219,7 +219,7 @@ unsuccessful.
|
||||
Extended the request with additional User Information
|
||||
-----------------------------------------------------
|
||||
|
||||
:py:class:`keystone.middleware.auth_token.AuthProtocol` extends the request
|
||||
:py:class:`keystoneclient.middleware.auth_token.AuthProtocol` extends the request
|
||||
with additional information if the user has been authenticated.
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user