2012-08-30 17:50:39 +00:00
|
|
|
# Use this pipeline for no auth - DEFAULT
|
2012-01-13 00:31:00 +00:00
|
|
|
[pipeline:glance-registry]
|
2014-08-18 10:59:05 +00:00
|
|
|
pipeline = osprofiler unauthenticated-context registryapp
|
2012-01-17 11:39:06 +00:00
|
|
|
|
2012-08-30 17:50:39 +00:00
|
|
|
# Use this pipeline for keystone auth
|
2012-01-17 11:39:06 +00:00
|
|
|
[pipeline:glance-registry-keystone]
|
2014-08-18 10:59:05 +00:00
|
|
|
pipeline = osprofiler authtoken context registryapp
|
2012-01-13 00:31:00 +00:00
|
|
|
|
2013-07-10 18:45:40 +00:00
|
|
|
# Use this pipeline for authZ only. This means that the registry will treat a
|
|
|
|
# user as authenticated without making requests to keystone to reauthenticate
|
|
|
|
# the user.
|
|
|
|
[pipeline:glance-registry-trusted-auth]
|
2014-08-18 10:59:05 +00:00
|
|
|
pipeline = osprofiler context registryapp
|
2013-07-10 18:45:40 +00:00
|
|
|
|
2012-01-13 00:31:00 +00:00
|
|
|
[app:registryapp]
|
2014-03-12 13:51:56 +00:00
|
|
|
paste.app_factory = glance.registry.api:API.factory
|
2012-01-13 00:31:00 +00:00
|
|
|
|
|
|
|
[filter:context]
|
2012-07-09 15:05:28 +00:00
|
|
|
paste.filter_factory = glance.api.middleware.context:ContextMiddleware.factory
|
2012-01-13 00:31:00 +00:00
|
|
|
|
2012-05-01 22:41:06 +00:00
|
|
|
[filter:unauthenticated-context]
|
2012-07-09 15:05:28 +00:00
|
|
|
paste.filter_factory = glance.api.middleware.context:UnauthenticatedContextMiddleware.factory
|
2012-05-01 22:41:06 +00:00
|
|
|
|
2012-01-13 00:31:00 +00:00
|
|
|
[filter:authtoken]
|
2014-06-24 21:07:36 +00:00
|
|
|
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
|
2014-07-04 16:10:11 +00:00
|
|
|
|
|
|
|
[filter:osprofiler]
|
|
|
|
paste.filter_factory = osprofiler.web:WsgiMiddleware.factory
|
|
|
|
hmac_keys = SECRET_KEY
|
|
|
|
enabled = yes
|