keystone/keystone/contrib/ec2
Deepti Ramakrishna 288a05a4de Reuse token_ref fetched in AuthContextMiddleware.
All keystone middleware components should reuse the auth context prepared
by AuthContextMiddleware. Note that AuthContextMiddleware is listed in
etc/keystone-paste.ini as one of the earliest middleware components in the
keystone pipeline. This means that almost all other middleware components
can depend on the auth context being available for use.

Also added a test to check that a trust cannot be retrived in case of a
missing auth context. Such a request should throw Forbidden exception.

Change-Id: I1c08976cf4d175fa2cfe2e39fe55811f04f13243
Closes-Bug: #1433211
2015-07-23 10:49:12 -07:00
..
__init__.py Safer noqa handling 2014-03-27 18:52:07 -05:00
controllers.py Reuse token_ref fetched in AuthContextMiddleware. 2015-07-23 10:49:12 -07:00
core.py Remove unnecessary declaration of CONF 2014-08-13 11:21:08 -04:00
routers.py Enhance V3 extensions to provide JSON Home data 2014-08-26 09:57:37 -05:00