Use auth_token middleware in keystoneclient.

The auth_token middleware moved into keystoneclient so a full
keystone install is not required to use the middleware.Also
add missing signing_dir to api-paste.ini.

Change-Id: If6c339045b70b3d4d70f0297ec32ed3cfdf431de
This commit is contained in:
Yaguang Tang 2012-11-27 16:55:32 +08:00
parent e3d6299b42
commit 4a4626282b
2 changed files with 3 additions and 1 deletions

View File

@ -12,13 +12,14 @@ keystone = authtoken keystonecontext extensions quantumapiapp_v2_0
paste.filter_factory = quantum.auth:QuantumKeystoneContext.factory
[filter:authtoken]
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
admin_tenant_name = %SERVICE_TENANT_NAME%
admin_user = %SERVICE_USER%
admin_password = %SERVICE_PASSWORD%
signing_dir = /var/lib/quantum
[filter:extensions]
paste.filter_factory = quantum.api.extensions:plugin_aware_extension_middleware_factory

View File

@ -13,3 +13,4 @@ python-quantumclient>=2.0
pyudev
sqlalchemy==0.7.9
webob==1.0.8
python-keystoneclient>=0.2.0