OpenStack Identity (Keystone) Middleware
dcce0d6367
The _fmt_msg() function constructs a debug message using identity attributes from the request environ dict, but accesses these using keys such as X_USER_ID, when the correct key should be HTTP_X_USER_ID. Consequently no identity attribute values are ever included in the debug log message. This patch adds the missing HTTP_ prefix to the keys and adds an assertion to the unit tests to verify that the debug log is generated as expected. Closes-Bug: 1408602 Change-Id: Ib309abcb3d0f15a20ae581105de1f8964497e5a2 |
||
---|---|---|
doc | ||
examples/pki | ||
keystonemiddleware | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
babel.cfg | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
openstack-common.conf | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Middleware for the OpenStack Identity API (Keystone)
This package contains middleware modules designed to provide
authentication and authorization features to web services other than
Keystone
<https://github.com/openstack/keystone>. The most prominent
module is keystonemiddleware.auth_token
. This package does
not expose any CLI or Python API features.
The source is available on GitHub at:
Bugs and feature requests are tracked on Launchpad at:
For any other information, refer to the parent project, Keystone:
For information on contributing, see
CONTRIBUTING.rst
.