glance/glance/api/middleware
Jamie Lennox ca501cba92 Use oslo.context features
In an effort to standardize policy and authentication values
oslo.context has new features such as from_environ which constructs a
standard oslo.context object from the environment variables created by
auth_token middleware and to_policy_values which emit a standard
credentials target for writing common policy files across services.

Use these standard functions when dealing with contexts and policy in
glance.

Closes-Bug: #1602081
Change-Id: I40582cb34818b980d6c6914b2c9346a17a0ed489
2016-07-12 13:40:33 +10:00
..
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 22:39:05 -06:00
cache.py Do not set header if checksum doesn't exist 2016-06-13 22:40:29 +00:00
cache_manage.py Import i18n functions directly 2015-12-07 18:20:43 +03:00
context.py Use oslo.context features 2016-07-12 13:40:33 +10:00
gzip.py Import i18n functions directly 2015-12-07 18:20:43 +03:00
version_negotiation.py Remove unused enable_v3_api config option 2016-03-11 12:00:55 +00:00