From da14fd9364d27db6489fac3beffff0c1da90fba6 Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Thu, 26 Jan 2017 18:18:53 +0100 Subject: [PATCH] rgw: settle rgw::auth::{IdentityApplier,Completer} in req_state. Signed-off-by: Radoslaw Zarzynski --- src/rgw/rgw_common.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h index 2aa20009bf835..3fbe8df82d107 100644 --- a/src/rgw/rgw_common.h +++ b/src/rgw/rgw_common.h @@ -1729,6 +1729,11 @@ struct req_state { * of a given RGWOp). Thus, it bounds authentication and authorization steps * through a well-defined interface. For more details, see rgw_auth.h. */ std::unique_ptr auth_identity; + struct { + /* TODO(rzarzynski): switch out to the static_ptr. */ + std::unique_ptr identity; + std::unique_ptr completer; + } auth; std::unique_ptr user_acl; RGWAccessControlPolicy *bucket_acl; -- 2.39.5