From 2d284b3969081b1cfaf41738c46d3e99250f679f Mon Sep 17 00:00:00 2001 From: Pritha Srivastava Date: Wed, 19 Sep 2018 12:52:33 +0530 Subject: [PATCH] rgw: Changing the default auth order. Signed-off-by: Pritha Srivastava --- src/rgw/rgw_auth_s3.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rgw/rgw_auth_s3.h b/src/rgw/rgw_auth_s3.h index cbf2a3f9ee4..d24a281ecbd 100644 --- a/src/rgw/rgw_auth_s3.h +++ b/src/rgw/rgw_auth_s3.h @@ -188,8 +188,8 @@ public: { std::vector result; - const std::set allowed_auth = { "external", "local", "sts" }; - std::vector default_order = { "external", "local", "sts"}; + const std::set allowed_auth = { "sts", "external", "local" }; + std::vector default_order = { "sts", "external", "local" }; // supplied strings may contain a space, so let's bypass that boost::split(result, cct->_conf->rgw_s3_auth_order, boost::is_any_of(", "), boost::token_compress_on); -- 2.47.3