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:
Yaguang Tang 2012-11-27 22:08:58 +08:00
parent 2e0734e077
commit a3a87e49f2
4 changed files with 3 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -33,3 +33,4 @@ Paste
passlib
jsonschema
python-keystoneclient>=0.2.0

View File

@ -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