]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/auth: Cache service tokens separately
authorTobias Urdin <tobias.urdin@binero.se>
Sun, 26 Jun 2022 23:12:42 +0000 (23:12 +0000)
committerTobias Urdin <tobias.urdin@binero.se>
Wed, 21 Sep 2022 20:33:29 +0000 (20:33 +0000)
commit0fd0a28dec1e4c63f8c00ca222916dac90d12cd1
tree0aadeb0d9e291980fb20d83770e295f3e565933f
parent4f902029babb763783a329209a12268a9278646a
rgw/auth: Cache service tokens separately

This changes so that the service tokens is cached
separately in it's own map and LRU list so that the
cache cannot be poisioned and used to lookup an
expired token.

Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
src/rgw/rgw_auth_keystone.cc
src/rgw/rgw_keystone.cc
src/rgw/rgw_keystone.h