Use auth_token middleware from python-keystoneclient.
auth_token middleware has been moved from keystone to python-keystoneclient, so add python-keystoneclient dependency. Change-Id: Ic4122d575b26277f68a4336c27f12a67fbdbbd20
This commit is contained in:
parent
2e0734e077
commit
a3a87e49f2
@ -53,5 +53,5 @@ paste.filter_factory = glance.api.middleware.context:ContextMiddleware.factory
|
||||
paste.filter_factory = glance.api.middleware.context:UnauthenticatedContextMiddleware.factory
|
||||
|
||||
[filter:authtoken]
|
||||
paste.filter_factory = keystone.middleware.auth_token:filter_factory
|
||||
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
|
||||
delay_auth_decision = true
|
||||
|
@ -16,4 +16,4 @@ paste.filter_factory = glance.api.middleware.context:ContextMiddleware.factory
|
||||
paste.filter_factory = glance.api.middleware.context:UnauthenticatedContextMiddleware.factory
|
||||
|
||||
[filter:authtoken]
|
||||
paste.filter_factory = keystone.middleware.auth_token:filter_factory
|
||||
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
|
||||
|
@ -33,3 +33,4 @@ Paste
|
||||
|
||||
passlib
|
||||
jsonschema
|
||||
python-keystoneclient>=0.2.0
|
||||
|
@ -18,6 +18,3 @@ requests
|
||||
# Optional packages that should be installed when testing
|
||||
xattr>=0.6.0
|
||||
pysendfile==2.0.0
|
||||
|
||||
# Needed for swift store functional tests
|
||||
python-keystoneclient
|
||||
|
Loading…
Reference in New Issue
Block a user