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
2018-01-24 00:57:26 +00:00
2017-01-03 09:13:38 -05:00
2017-10-02 21:57:27 -05:00
2014-06-19 15:45:29 -07:00
2017-10-02 21:57:27 -05:00
2015-06-07 10:37:27 -05:00
2014-06-19 15:45:29 -07:00
2017-07-20 16:38:16 +08:00
2014-06-19 15:45:29 -07:00
2017-07-20 16:38:16 +08:00
2017-10-15 17:00:19 +00:00
2017-04-06 22:03:25 +00:00
2017-12-20 00:39:46 +01:00

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

Description
OpenStack Identity (Keystone) Middleware
Readme 14 MiB
Languages
Python 100%