The nova.api.openstack.auth
Module¶
-
class
NoAuthMiddleware
(application)¶ Bases:
nova.api.openstack.auth.NoAuthMiddlewareBase
Return a fake token if one isn’t specified.
noauth2 provides admin privs if ‘admin’ is provided as the user id.
-
class
NoAuthMiddlewareBase
(application)¶ Bases:
nova.wsgi.Middleware
Return a fake token if one isn’t specified.
-
base_call
(req, project_id_in_path, always_admin=True)¶
-
-
class
NoAuthMiddlewareV2_18
(application)¶ Bases:
nova.api.openstack.auth.NoAuthMiddlewareBase
Return a fake token if one isn’t specified.
This provides a version of the middleware which does not add project_id into server management urls.