commit 4649fe6bfc749ab48ec1905ca4dc2fc667914021
Author: Gage Hugo <email address hidden>
Date: Tue Oct 27 15:22:04 2020 -0500
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 <email address hidden>
Change-Id: Id51241989b22c52810391f3e8e1cadbf8613d873
Related-Bug: #1688137
(cherry picked from commit ac2631ae33445877094cdae796fbcdce8833a626)
Reviewed: https:/ /review. opendev. org/c/openstack /keystone/ +/790442 /opendev. org/openstack/ keystone/ commit/ 4649fe6bfc749ab 48ec1905ca4dc2f c667914021
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/victoria
commit 4649fe6bfc749ab 48ec1905ca4dc2f c667914021
Author: Gage Hugo <email address hidden>
Date: Tue Oct 27 15:22:04 2020 -0500
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 <email address hidden>
Change-Id: Id51241989b22c5 2810391f3e8e1ca dbf8613d873 7094cdae796fbcd ce8833a626)
Related-Bug: #1688137
(cherry picked from commit ac2631ae3344587