blob: fe460d9e59217386cf6f930a89d91fcb2d7dded9 [file] [log] [blame]
Jay Pipes8cafc802012-01-16 22:01:06 -05001[pipeline:glance-registry]
2#pipeline = context registryapp
3# NOTE: use the following pipeline for keystone
4pipeline = authtoken auth-context context registryapp
5
6[app:registryapp]
7paste.app_factory = glance.common.wsgi:app_factory
8glance.app_factory = glance.registry.api.v1:API
9
10[filter:context]
11context_class = glance.registry.context.RequestContext
12paste.filter_factory = glance.common.wsgi:filter_factory
13glance.filter_factory = glance.common.context:ContextMiddleware
14
15[filter:authtoken]
16paste.filter_factory = keystone.middleware.auth_token:filter_factory
Dean Troyerb3288382012-02-28 16:41:10 -060017# FIXME(dtroyer): remove these service_* entries after auth_token is updated
Jay Pipes8cafc802012-01-16 22:01:06 -050018service_host = %KEYSTONE_SERVICE_HOST%
19service_port = %KEYSTONE_SERVICE_PORT%
20service_protocol = %KEYSTONE_SERVICE_PROTOCOL%
21auth_host = %KEYSTONE_AUTH_HOST%
22auth_port = %KEYSTONE_AUTH_PORT%
23auth_protocol = %KEYSTONE_AUTH_PROTOCOL%
24auth_uri = %KEYSTONE_SERVICE_PROTOCOL%://%KEYSTONE_SERVICE_HOST%:%KEYSTONE_SERVICE_PORT%/
Dean Troyerb3288382012-02-28 16:41:10 -060025# FIXME(dtroyer): remove admin_token after auth_token is updated
Jay Pipes8cafc802012-01-16 22:01:06 -050026admin_token = %SERVICE_TOKEN%
Dean Troyerb3288382012-02-28 16:41:10 -060027admin_tenant_name = %SERVICE_TENANT_NAME%
28admin_user = %SERVICE_USERNAME%
29admin_password = %SERVICE_PASSWORD%
Jay Pipes8cafc802012-01-16 22:01:06 -050030
31[filter:auth-context]
32context_class = glance.registry.context.RequestContext
33paste.filter_factory = glance.common.wsgi:filter_factory
34glance.filter_factory = keystone.middleware.glance_auth_token:KeystoneContextMiddleware