Delete valid tokens for a user when they have been disabled
Moved logic to delete tokens into update_user, as this can be called
directly form the REST API.
Also checks if a user is enabled when creating a token from another
token, this helps in cases there the backend didn't support listing of
tokens (and as a result weren't deleted)
Reviewed: https:/ /review. openstack. org/7344 github. com/openstack/ keystone/ commit/ 628149b3dc6b58b 91fd08e6ca8d91c 728ccb8626
Committed: http://
Submitter: Jenkins
Branch: master
commit 628149b3dc6b58b 91fd08e6ca8d91c 728ccb8626
Author: Derek Higgins <email address hidden>
Date: Fri May 11 13:42:43 2012 +0100
Invalidate user tokens when a user is disabled
Fixes Bug 997194
Delete valid tokens for a user when they have been disabled
Moved logic to delete tokens into update_user, as this can be called
directly form the REST API.
Also checks if a user is enabled when creating a token from another
token, this helps in cases there the backend didn't support listing of
tokens (and as a result weren't deleted)
Change-Id: Ib5ed73a7873bfa 66ef31bf6d0f032 2f50e677688