OpenStack Identity (Keystone) Middleware
Go to file
Chris Dent d3352ff422 Identify the keystone service when raising 503
When the keystonemiddleware is used directly in the WSGI stack of an
application, the 503 that is raised when the keystone service errors
or cannot be reached needs to identify that keystone is the service
that has failed, otherwise it appears to the client that it is the
service they are trying to access is down, which is misleading.

This addresses the problem in the most straightforward way possible:
the exception that causes the 503 is given a message including the
word "Keystone".

The call method in BaseAuthTokenTestCase gains an
expected_body_string kwarg. If not None, the response body (as
a six.text_type) is compared with the value.

Change-Id: Idf211e7bc99139744af232f5ea3ecb4be41551ca
Closes-Bug: #1747655
Closes-Bug: #1749797
2018-02-20 17:32:41 +01:00
config-generator generate sample config automatically 2016-05-12 06:38:40 +00:00
doc Updated from global requirements 2018-01-24 00:57:26 +00:00
examples/pki auth_token verify revocation by audit_id 2015-12-17 10:55:58 -06:00
keystonemiddleware Identify the keystone service when raising 503 2018-02-20 17:32:41 +01:00
releasenotes Identify the keystone service when raising 503 2018-02-20 17:32:41 +01:00
tools Add Constraints support 2017-01-03 09:13:38 -05:00
.coveragerc Update .coveragerc after the removal of respective directory 2016-10-24 18:03:12 +05:30
.gitignore Updates for stestr 2017-10-02 21:57:27 -05:00
.gitreview Initial commit 2014-06-19 15:45:29 -07:00
.stestr.conf Updates for stestr 2017-10-02 21:57:27 -05:00
.testr.conf Common base class for unit tests 2015-06-07 10:37:27 -05:00
CONTRIBUTING.rst Use https for *.openstack.org references 2017-02-05 20:36:42 -08:00
HACKING.rst Update URLs in documentation 2017-07-20 16:38:16 +08:00
LICENSE Initial commit 2014-06-19 15:45:29 -07:00
README.rst Update URLs in documentation 2017-07-20 16:38:16 +08:00
babel.cfg Initial commit 2014-06-19 15:45:29 -07:00
requirements.txt Updated from global requirements 2018-01-16 04:09:47 +00:00
setup.cfg Updated from global requirements 2017-10-15 17:00:19 +00:00
setup.py Updated from global requirements 2017-04-06 22:03:25 +00:00
test-requirements.txt Updated from global requirements 2018-01-16 04:09:47 +00:00
tox.ini Fix docs builds 2017-12-20 00:39:46 +01:00

README.rst

Team and repository tags

image

Middleware for the OpenStack Identity API (Keystone)

Latest Version

Downloads

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.

For information on contributing, see CONTRIBUTING.rst.

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

https://github.com/openstack/keystone