a3a87e49f2
auth_token middleware has been moved from keystone to python-keystoneclient, so add python-keystoneclient dependency. Change-Id: Ic4122d575b26277f68a4336c27f12a67fbdbbd20
20 lines
626 B
INI
20 lines
626 B
INI
# Use this pipeline for no auth - DEFAULT
|
|
[pipeline:glance-registry]
|
|
pipeline = unauthenticated-context registryapp
|
|
|
|
# Use this pipeline for keystone auth
|
|
[pipeline:glance-registry-keystone]
|
|
pipeline = authtoken context registryapp
|
|
|
|
[app:registryapp]
|
|
paste.app_factory = glance.registry.api.v1:API.factory
|
|
|
|
[filter:context]
|
|
paste.filter_factory = glance.api.middleware.context:ContextMiddleware.factory
|
|
|
|
[filter:unauthenticated-context]
|
|
paste.filter_factory = glance.api.middleware.context:UnauthenticatedContextMiddleware.factory
|
|
|
|
[filter:authtoken]
|
|
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
|