]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_rest_iam.h
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / rgw / rgw_rest_iam.h
index 30e0304c37a02e1452af6425102247e8d0ebe166..6b3518c2dc58b6930df622fc8a1dea96a3eee774 100644 (file)
@@ -5,6 +5,7 @@
 
 #include "rgw_auth.h"
 #include "rgw_auth_filters.h"
+#include "rgw_rest.h"
 
 class RGWHandler_REST_IAM : public RGWHandler_REST {
   const rgw::auth::StrategyRegistry& auth_registry;
@@ -24,8 +25,8 @@ public:
   int init(rgw::sal::RGWRadosStore *store,
            struct req_state *s,
            rgw::io::BasicClient *cio) override;
-  int authorize(const DoutPrefixProvider* dpp) override;
-  int postauth_init() override { return 0; }
+  int authorize(const DoutPrefixProvider* dpp, optional_yield y) override;
+  int postauth_init(optional_yield y) override { return 0; }
 };
 
 class RGWRESTMgr_IAM : public RGWRESTMgr {
@@ -39,7 +40,8 @@ public:
     return this;
   }
 
-  RGWHandler_REST* get_handler(struct req_state*,
+  RGWHandler_REST* get_handler(rgw::sal::RGWRadosStore *store,
+                              struct req_state*,
                                const rgw::auth::StrategyRegistry&,
                                const std::string&) override;
 };