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.

Previous topic

The nova.api.openstack.api_version_request Module

Next topic

The nova.api.openstack.common Module

Project Source

This Page