OpenStack Identity (Keystone) Middleware
Go to file
Alistair Coles dcce0d6367 Fix environ keys missing HTTP_ prefix
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
2015-01-08 10:14:30 +00:00
doc Merge "Workflow documentation is now in infra-manual" 2014-12-31 15:33:23 +00:00
examples/pki Example JSON files should be human-readable 2014-07-22 11:48:27 -04:00
keystonemiddleware Fix environ keys missing HTTP_ prefix 2015-01-08 10:14:30 +00:00
tools Use oslo_debug_helper and remove our own version 2014-09-09 10:18:51 -04:00
.coveragerc Initial commit 2014-06-19 15:45:29 -07:00
.gitignore Update .gitignore files 2014-06-20 07:23:39 -07:00
.gitreview Initial commit 2014-06-19 15:45:29 -07:00
.testr.conf Initial commit 2014-06-19 15:45:29 -07:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:37 +00:00
HACKING.rst Update python-keystoneclient reference 2014-10-28 22:28:56 -03:00
LICENSE Initial commit 2014-06-19 15:45:29 -07:00
MANIFEST.in Update MANIFEST.in 2014-06-19 17:30:35 -07:00
README.rst add CONTRIBUTING.rst 2014-06-30 14:07:56 -05:00
babel.cfg Initial commit 2014-06-19 15:45:29 -07:00
openstack-common.conf add context to keystonemiddleware 2014-10-23 13:58:32 +00:00
requirements.txt Updated from global requirements 2014-12-11 07:14:13 +00:00
setup.cfg Merge "Mark keystonemiddleware as being a universal wheel" 2014-07-28 22:53:17 +00:00
setup.py Updated from global requirements 2014-07-21 16:24:10 +00:00
test-requirements.txt Updated from global requirements 2014-12-04 22:37:16 +00:00
tox.ini I18n 2014-10-29 20:59:51 -05:00

README.rst

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:

http://github.com/openstack/keystonemiddleware

Bugs and feature requests are tracked on Launchpad at:

https://bugs.launchpad.net/keystonemiddleware

For any other information, refer to the parent project, Keystone:

https://github.com/openstack/keystone

For information on contributing, see CONTRIBUTING.rst.