keystone/keystone/tests/unit/common
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
..
__init__.py Always hash passwords on their way into the DB 2014-02-20 13:06:37 +00:00
test_cache.py Distributed cache namespace to invalidate regions 2016-08-29 16:38:55 +00:00
test_database_conflicts.py Finish refactoring self.*_api out of tests 2018-02-05 23:26:08 +00:00
test_json_home.py Use https for docs.openstack.org references 2017-01-30 16:05:08 -08:00
test_notifications.py Hide AccountLocked exception from end users 2021-05-10 15:46:28 +00:00
test_provider_api.py Fix RBACEnforcer get_member_from_driver mechanism 2018-09-10 13:32:14 -07:00
test_rbac_enforcer.py Switch from mock to unittest.mock use 2020-03-02 13:40:40 -06:00
test_resource_options_common.py Code-Defined Resource-specific Options 2017-01-25 16:15:44 -08:00
test_sql_core.py Do not call `to_dict` outside of a session context 2017-01-25 06:12:20 +00:00
test_utils.py Remove six usage 2020-01-30 06:06:51 +00:00