Common Auth Middleware.
CinderKeystoneContext
(application)¶Bases: cinder.wsgi.common.Middleware
Make a request context from keystone headers.
ENV_OVERWRITES
= {'X_PROJECT_DOMAIN_ID': 'project_domain_id', 'X_PROJECT_DOMAIN_NAME': 'project_domain_name', 'X_USER_DOMAIN_ID': 'user_domain_id', 'X_USER_DOMAIN_NAME': 'user_domain_name'}¶InjectContext
(context, *args, **kwargs)¶Bases: cinder.wsgi.common.Middleware
Add a ‘cinder.context’ to WSGI environ.
NoAuthMiddleware
(application)¶Bases: cinder.api.middleware.auth.NoAuthMiddlewareBase
Return a fake token if one isn’t specified.
Sets project_id in URLs.
NoAuthMiddlewareBase
(application)¶Bases: cinder.wsgi.common.Middleware
Return a fake token if one isn’t specified.
base_call
(req, project_id_in_path=False)¶NoAuthMiddlewareIncludeProjectID
(application)¶Bases: cinder.api.middleware.auth.NoAuthMiddlewareBase
Return a fake token if one isn’t specified.
Does not set project_id in URLs.
pipeline_factory
(loader, global_conf, **local_conf)¶A paste pipeline replica that keys off of auth_strategy.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.