Ensure v2 tokens are correctly invalidated when using BelongsTo
Due to the optional paramater of the tenant on several v2 token
validation methods, we need to ensure that calling token validation
with different permutations of parameters does not lead to an incorrect
cache value being returned. This is done by lifting the 'BelongsTo'
checks out of the token backend and into the Manager, in a layer above
where the token caching takes place.
Reviewed: https:/ /review. openstack. org/46972 github. com/openstack/ keystone/ commit/ 07a080d3d6f2bdc 37daaf5105f3848 d2450f8b17
Committed: http://
Submitter: Jenkins
Branch: master
commit 07a080d3d6f2bdc 37daaf5105f3848 d2450f8b17
Author: Henry Nash <email address hidden>
Date: Tue Sep 17 16:32:35 2013 +0100
Ensure v2 tokens are correctly invalidated when using BelongsTo
Due to the optional paramater of the tenant on several v2 token
validation methods, we need to ensure that calling token validation
with different permutations of parameters does not lead to an incorrect
cache value being returned. This is done by lifting the 'BelongsTo'
checks out of the token backend and into the Manager, in a layer above
where the token caching takes place.
Fixes bug 1226225
Change-Id: Ifa3162923ad41a ac6a9e5d5b4996b c43dc9b11fb