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/8456 github. com/openstack/ keystone/ commit/ d9600434da14976 463a0bd03abd8e0 309f0db454
Committed: http://
Submitter: Jenkins
Branch: stable/essex
commit d9600434da14976 463a0bd03abd8e0 309f0db454
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