From: Radoslaw Zarzynski Date: Thu, 26 Jan 2017 17:18:53 +0000 (+0100) Subject: rgw: settle rgw::auth::{IdentityApplier,Completer} in req_state. X-Git-Tag: v12.0.2~305^2~32 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=da14fd9364d27db6489fac3beffff0c1da90fba6;p=ceph.git rgw: settle rgw::auth::{IdentityApplier,Completer} in req_state. Signed-off-by: Radoslaw Zarzynski --- diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h index 2aa20009bf83..3fbe8df82d10 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;