e2e358b4f8
Change-Id: Id7cef7826092e191654da872ee1e11c4c6f50ddf Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
31 lines
1002 B
INI
Executable File
31 lines
1002 B
INI
Executable File
# Use this pipeline for no auth - DEFAULT
|
|
[pipeline:daisy-registry]
|
|
pipeline = osprofiler unauthenticated-context registryapp
|
|
|
|
# Use this pipeline for keystone auth
|
|
[pipeline:daisy-registry-keystone]
|
|
pipeline = osprofiler authtoken context registryapp
|
|
|
|
# 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:daisy-registry-trusted-auth]
|
|
pipeline = osprofiler context registryapp
|
|
|
|
[app:registryapp]
|
|
paste.app_factory = daisy.registry.api:API.factory
|
|
|
|
[filter:context]
|
|
paste.filter_factory = daisy.api.middleware.context:ContextMiddleware.factory
|
|
|
|
[filter:unauthenticated-context]
|
|
paste.filter_factory = daisy.api.middleware.context:UnauthenticatedContextMiddleware.factory
|
|
|
|
[filter:authtoken]
|
|
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
|
|
|
|
[filter:osprofiler]
|
|
paste.filter_factory = osprofiler.web:WsgiMiddleware.factory
|
|
hmac_keys = SECRET_KEY
|
|
enabled = yes
|