blob: f4130ec9e2e4610e4273bd064b6fffe65d52fa52 [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
17service_host = %KEYSTONE_SERVICE_HOST%
18service_port = %KEYSTONE_SERVICE_PORT%
19service_protocol = %KEYSTONE_SERVICE_PROTOCOL%
20auth_host = %KEYSTONE_AUTH_HOST%
21auth_port = %KEYSTONE_AUTH_PORT%
22auth_protocol = %KEYSTONE_AUTH_PROTOCOL%
23auth_uri = %KEYSTONE_SERVICE_PROTOCOL%://%KEYSTONE_SERVICE_HOST%:%KEYSTONE_SERVICE_PORT%/
24admin_token = %SERVICE_TOKEN%
25
26[filter:auth-context]
27context_class = glance.registry.context.RequestContext
28paste.filter_factory = glance.common.wsgi:filter_factory
29glance.filter_factory = keystone.middleware.glance_auth_token:KeystoneContextMiddleware