0885397d10
Initial PoC source code for Tricircle, the project for OpenStack cascading solution. Change-Id: I8abc93839a26446cb61c8d9004dfd812bd91de6e
35 lines
1.2 KiB
INI
35 lines
1.2 KiB
INI
# Use this pipeline for no auth - DEFAULT
|
|
[pipeline:glance-sync]
|
|
pipeline = versionnegotiation unauthenticated-context rootapp
|
|
|
|
[filter:unauthenticated-context]
|
|
paste.filter_factory = glance.api.middleware.context:UnauthenticatedContextMiddleware.factory
|
|
|
|
# Use this pipeline for keystone auth
|
|
[pipeline:glance-sync-keystone]
|
|
pipeline = versionnegotiation authtoken context rootapp
|
|
|
|
# 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-sync-trusted-auth]
|
|
pipeline = versionnegotiation context rootapp
|
|
|
|
[composite:rootapp]
|
|
paste.composite_factory = glance.sync.api:root_app_factory
|
|
/v1: syncv1app
|
|
|
|
[app:syncv1app]
|
|
paste.app_factory = glance.sync.api.v1:API.factory
|
|
|
|
[filter:context]
|
|
paste.filter_factory = glance.api.middleware.context:ContextMiddleware.factory
|
|
|
|
[filter:versionnegotiation]
|
|
paste.filter_factory = glance.api.middleware.version_negotiation:VersionNegotiationFilter.factory
|
|
|
|
[filter:unauthenticated-context]
|
|
paste.filter_factory = glance.api.middleware.context:UnauthenticatedContextMiddleware.factory
|
|
|
|
[filter:authtoken]
|
|
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory |