]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_rest_sts.h
import ceph 14.2.5
[ceph.git] / ceph / src / rgw / rgw_rest_sts.h
index a89c381d66efc49f8b5084109d2823ff5f14dad3..d9baa2c3cacd8a93660442aba6625178da1a89af 100644 (file)
@@ -162,15 +162,17 @@ public:
 
 class RGWHandler_REST_STS : public RGWHandler_REST {
   const rgw::auth::StrategyRegistry& auth_registry;
+  const string& post_body;
   RGWOp *op_post() override;
   void rgw_sts_parse_input();
 public:
 
   static int init_from_header(struct req_state *s, int default_formatter, bool configurable_format);
 
-  RGWHandler_REST_STS(const rgw::auth::StrategyRegistry& auth_registry)
+  RGWHandler_REST_STS(const rgw::auth::StrategyRegistry& auth_registry, const string& post_body="")
     : RGWHandler_REST(),
-      auth_registry(auth_registry) {}
+      auth_registry(auth_registry),
+      post_body(post_body) {}
   ~RGWHandler_REST_STS() override = default;
 
   int init(RGWRados *store,