RIFT OSM R1 Initial Submission
[osm/SO.git] / rwlaunchpad / plugins / rwimagemgr / etc / fc20 / glance-api-dist-paste.ini
1 # Use this pipeline for no auth or image caching - DEFAULT
2 [pipeline:glance-api]
3 pipeline = versionnegotiation unauthenticated-context rootapp
4
5 # Use this pipeline for image caching and no auth
6 [pipeline:glance-api-caching]
7 pipeline = versionnegotiation unauthenticated-context cache rootapp
8
9 # Use this pipeline for caching w/ management interface but no auth
10 [pipeline:glance-api-cachemanagement]
11 pipeline = versionnegotiation unauthenticated-context cache cachemanage rootapp
12
13 # Use this pipeline for keystone auth
14 [pipeline:glance-api-keystone]
15 pipeline = versionnegotiation authtoken context rootapp
16
17 # Use this pipeline for keystone auth with image caching
18 [pipeline:glance-api-keystone+caching]
19 pipeline = versionnegotiation authtoken context cache rootapp
20
21 # Use this pipeline for keystone auth with caching and cache management
22 [pipeline:glance-api-keystone+cachemanagement]
23 pipeline = versionnegotiation authtoken context cache cachemanage rootapp
24
25 # Use this pipeline for authZ only. This means that the registry will treat a
26 # user as authenticated without making requests to keystone to reauthenticate
27 # the user.
28 [pipeline:glance-api-trusted-auth]
29 pipeline = versionnegotiation context rootapp
30
31 # Use this pipeline for authZ only. This means that the registry will treat a
32 # user as authenticated without making requests to keystone to reauthenticate
33 # the user and uses cache management
34 [pipeline:glance-api-trusted-auth+cachemanagement]
35 pipeline = versionnegotiation context cache cachemanage rootapp
36
37 [composite:rootapp]
38 paste.composite_factory = glance.api:root_app_factory
39 /: apiversions
40 /v1: apiv1app
41 /v2: apiv2app
42
43 [app:apiversions]
44 paste.app_factory = glance.api.versions:create_resource
45
46 [app:apiv1app]
47 paste.app_factory = glance.api.v1.router:API.factory
48
49 [app:apiv2app]
50 paste.app_factory = glance.api.v2.router:API.factory
51
52 [filter:versionnegotiation]
53 paste.filter_factory = glance.api.middleware.version_negotiation:VersionNegotiationFilter.factory
54
55 [filter:cache]
56 paste.filter_factory = glance.api.middleware.cache:CacheFilter.factory
57
58 [filter:cachemanage]
59 paste.filter_factory = glance.api.middleware.cache_manage:CacheManageFilter.factory
60
61 [filter:context]
62 paste.filter_factory = glance.api.middleware.context:ContextMiddleware.factory
63
64 [filter:unauthenticated-context]
65 paste.filter_factory = glance.api.middleware.context:UnauthenticatedContextMiddleware.factory
66
67 [filter:authtoken]
68 paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
69 delay_auth_decision = true
70
71 [filter:gzip]
72 paste.filter_factory = glance.api.middleware.gzip:GzipMiddleware.factory