keystone/keystone/tests
Gage Hugo 4649fe6bfc 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:16 +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 Update hacking for Python3 2020-04-15 07:17:58 +02:00
protection Use app cred user ID in policy enforcement 2021-01-08 16:49:25 +00:00
unit Hide AccountLocked exception from end users 2021-05-10 15:46:16 +00:00
__init__.py Move existing tests to unit 2015-02-13 15:54:29 -06:00