keystonemiddleware/keystonemiddleware
Jorge Merlino e05466c5f4 Remove cache invalidation when using expired token
This can create a race condition for long running services that reuse
their token (eg. Kubernetes Cinder CSI plugin) in this case for
example:

1 [user] Asks nova to attach a volume to a server
2 ...the user's token expires
3 [user] Asks cinder if the volume has been attached
4 [nova] Asks cinder to attach the volume

In step 3 the token is marked as invalid in the cache and step 4 fails
even if allow_expired is true

Closes-Bug: #1987355
Change-Id: Ice8e34440a5fe1baa370646ed70b5e085c4af70e
2022-12-12 20:16:14 +00:00
..
_common Fix misspell word 2019-09-09 09:02:14 +08:00
audit Add oslo.config.opts entrypoint for audit middleware options 2021-08-12 11:17:13 +09:00
auth_token Remove cache invalidation when using expired token 2022-12-12 20:16:14 +00:00
echo Replace six.iteritems() with .items() 2017-07-12 13:43:55 +07:00
locale Imported Translations from Zanata 2019-12-22 07:08:56 +00:00
tests Remove cache invalidation when using expired token 2022-12-12 20:16:14 +00:00
__init__.py Moving middleware to new location 2014-06-19 15:50:41 -07:00
ec2_token.py Change ec2 URLs to v3 2019-11-29 04:20:14 +00:00
exceptions.py Create a Config object 2016-06-10 18:21:56 +00:00
fixture.py Remove use of positional decorator 2017-08-07 13:18:19 -07:00
i18n.py Update URLs in documentation 2017-07-20 16:38:16 +08:00
oauth2_token.py Fix pep8 gate 2022-12-09 10:28:06 -06:00
opts.py Move auth token opts calculation into auth_token 2016-06-13 14:03:23 -03:00
s3_token.py Rename auth_uri to www_authenticate_uri 2017-10-11 14:00:49 +02:00