Bases: keystone.common.wsgi.Middleware
A trivial filter that checks for a pre-defined admin token.
Sets ‘is_admin’ to true in the context, expected to be checked by methods that are admin-only.
Bases: keystone.common.wsgi.Middleware
Build the authentication context from the request auth token.
Bases: keystone.common.wsgi.Middleware
Middleware to allow method arguments to be passed as serialized JSON.
Accepting arguments as JSON is useful for accepting data that may be more complex than simple primitives.
In this case we accept it as urlencoded data under the key ‘json’ as in json=<urlencoded_json> but this could be extended to accept raw JSON in the POST body.
Filters out the parameters self, context and anything beginning with an underscore.
Bases: keystone.common.wsgi.Middleware
Middleware filter to handle URL normalization.
Bases: keystone.common.wsgi.Middleware
Middleware to allow method arguments to be passed as POST parameters.
Filters out the parameters self, context and anything beginning with an underscore.
Bases: keystone.common.wsgi.Middleware
Limit the size of an incoming request.
Bases: keystone.common.wsgi.Middleware
De/serializes XML to/from JSON.
Bases: keystone.middleware.core.XmlBodyMiddleware
De/serializes XML to/from JSON for v2.0 API.
Bases: keystone.middleware.core.XmlBodyMiddleware
De/serializes XML to/from JSON for v3 API.
Starting point for routing EC2 requests.
The EC2 Token Middleware has been deprecated as of Juno. It has been moved into keystonemiddleware, keystonemiddleware.ec2_token.