Jamie Lennox 913fd8ef67 Convert auth_token middleware to use sessions
With this patch, session objects will be used for requests
and token management.

It is no longer permissable to specify both a username/password
and a admin_token. This used to work but now you get one plugin
or the other.

There is one test removed in this patch which was to do with having the
auth token refreshed if it was stale. This is no longer handled by the
middleware but expected to be managed by the auth plugin.

This fixes the existing behaviour that if an admin_token was given and
was marked invalid then the middleware would fallback to using the
username and password provided. If an authentication method fails then
this is something that should be addressed not compensated for.

Co-authored-by: Harry Rybacki <hrybacki@redhat.com>
Change-Id: Ib52beaaa1e01875cceaae78dc879a6399ccefa36
Closes-Bug: #1307252
2014-08-01 11:59:55 -07:00
2014-06-20 07:23:39 -07:00
2014-06-20 07:28:52 -07:00
2014-06-19 15:45:29 -07:00
2014-06-20 07:23:39 -07:00
2014-06-19 15:45:29 -07:00
2014-06-19 15:45:29 -07:00
2014-06-19 15:45:29 -07:00
2014-06-30 14:07:56 -05:00
2014-06-19 15:45:29 -07:00
2014-06-19 15:45:29 -07:00
2014-06-19 17:30:35 -07:00
2014-06-19 15:45:29 -07:00
2014-06-30 14:07:56 -05:00
2014-06-20 07:26:54 -07:00
2014-07-21 16:24:10 +00:00
2014-06-20 07:26:54 -07:00
2014-06-19 15:45:29 -07:00

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.

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