update from RIFT as of 696b75d2fe9fb046261b08c616f1bcf6c0b54a9b second try
[osm/SO.git] / rwlaunchpad / plugins / rwimagemgr / etc / ub16 / glance-registry-paste.ini
1 # Use this pipeline for no auth - DEFAULT
2 [pipeline:glance-registry]
3 pipeline = healthcheck osprofiler unauthenticated-context registryapp
4
5 # Use this pipeline for keystone auth
6 [pipeline:glance-registry-keystone]
7 pipeline = healthcheck osprofiler authtoken context registryapp
8
9 # Use this pipeline for authZ only. This means that the registry will treat a
10 # user as authenticated without making requests to keystone to reauthenticate
11 # the user.
12 [pipeline:glance-registry-trusted-auth]
13 pipeline = healthcheck osprofiler context registryapp
14
15 [app:registryapp]
16 paste.app_factory = glance.registry.api:API.factory
17
18 [filter:healthcheck]
19 paste.filter_factory = oslo_middleware:Healthcheck.factory
20 backends = disable_by_file
21 disable_by_file_path = /etc/glance/healthcheck_disable
22
23 [filter:context]
24 paste.filter_factory = glance.api.middleware.context:ContextMiddleware.factory
25
26 [filter:unauthenticated-context]
27 paste.filter_factory = glance.api.middleware.context:UnauthenticatedContextMiddleware.factory
28
29 [filter:authtoken]
30 paste.filter_factory = keystonemiddleware.auth_token:filter_factory
31
32 [filter:osprofiler]
33 paste.filter_factory = osprofiler.web:WsgiMiddleware.factory
34 hmac_keys = SECRET_KEY #DEPRECATED
35 enabled = yes #DEPRECATED