]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/auth: Fix the return code returned by AuthStrategy, 54794/head
authorPritha Srivastava <prsrivas@redhat.com>
Thu, 20 Jul 2023 06:05:09 +0000 (11:35 +0530)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Tue, 5 Dec 2023 19:53:25 +0000 (02:53 +0700)
commitd298272cbf0ed7d81e7ef2424e4004886bc17385
tree0993401dcc9ed4f5777dc835ff1b1d811811e684
parent875620c329cb7914687d85841812ab9aa0a2f783
rgw/auth: Fix the return code returned by AuthStrategy,
in case of LocalEngine authentication, when the previous
auth engine is Not Applicable. The error code now returned
is the one returned by LocalEngine.

fixes: https://tracker.ceph.com/issues/61916

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
(cherry picked from commit 6f7ef8620e52be776ef633bb962a4309996529df)
src/rgw/rgw_auth.cc
src/rgw/rgw_rest_s3.cc