From: Radoslaw Zarzynski Date: Thu, 7 Jul 2016 17:53:53 +0000 (+0200) Subject: rgw: comment RGWThirdPartyAccountAuthApplier::UNKNOWN_ACCT. X-Git-Tag: ses5-milestone5~182^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ade6e97a32ff96b23dca809edb00c8644a4acaf1;p=ceph.git rgw: comment RGWThirdPartyAccountAuthApplier::UNKNOWN_ACCT. Signed-off-by: Radoslaw Zarzynski --- diff --git a/src/rgw/rgw_auth_decoimpl.h b/src/rgw/rgw_auth_decoimpl.h index 2a841380bca0..cf9825bab090 100644 --- a/src/rgw/rgw_auth_decoimpl.h +++ b/src/rgw/rgw_auth_decoimpl.h @@ -98,7 +98,9 @@ class RGWThirdPartyAccountAuthApplier : public RGWDecoratingAuthApplier { /* const */RGWRados * const store; const rgw_user acct_user_override; public: - /* FIXME: comment this. */ + /* A value representing situations where there is no requested account + * override. In other words, acct_user_override will be equal to this + * constant where the request isn't a cross-tenant one. */ static const rgw_user UNKNOWN_ACCT; template @@ -114,7 +116,8 @@ public: void load_acct_info(RGWUserInfo& user_info) const override; /* out */ }; -/* static declaration */ +/* static declaration: UNKNOWN_ACCT will be an empty rgw_user that is a result + * of the default construction. */ template const rgw_user RGWThirdPartyAccountAuthApplier::UNKNOWN_ACCT;