keystone/keystone/tests
Gage Hugo 8ab4eb27be Hide AccountLocked exception from end users
This change hides the AccountLocked exception from being returned
to the end user to hide sensitive information that a potential
malicious person could gain insight from.

The notification handler catches the AccountLocked exception as
before, but after sending the audit notification, it instead
bubbles up Unauthorized rather than AccountLocked.

Co-Authored-By: Samuel de Medeiros Queiroz <samueldmq@gmail.com>

Change-Id: Id51241989b22c52810391f3e8e1cadbf8613d873
Related-Bug: #1688137
(cherry picked from commit ac2631ae33)
2021-05-10 15:46:28 +00:00
..
common Add missing translation import to common.auth.py 2018-11-28 14:23:41 +00:00
functional Update keystone functional tests 2018-04-18 21:04:59 +00:00
hacking Remove six usage 2020-01-30 06:06:51 +00:00
protection Merge "Add domain admin grant test cases" 2020-02-06 20:12:08 +00:00
unit Hide AccountLocked exception from end users 2021-05-10 15:46:28 +00:00
__init__.py Move existing tests to unit 2015-02-13 15:54:29 -06:00