mirror of
https://github.com/ceph/ceph
synced 2025-01-04 10:12:30 +00:00
rgw: settle rgw::auth::{IdentityApplier,Completer} in req_state.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
This commit is contained in:
parent
58f0df7a17
commit
da14fd9364
@ -1729,6 +1729,11 @@ struct req_state {
|
|||||||
* of a given RGWOp). Thus, it bounds authentication and authorization steps
|
* of a given RGWOp). Thus, it bounds authentication and authorization steps
|
||||||
* through a well-defined interface. For more details, see rgw_auth.h. */
|
* through a well-defined interface. For more details, see rgw_auth.h. */
|
||||||
std::unique_ptr<RGWIdentityApplier> auth_identity;
|
std::unique_ptr<RGWIdentityApplier> auth_identity;
|
||||||
|
struct {
|
||||||
|
/* TODO(rzarzynski): switch out to the static_ptr. */
|
||||||
|
std::unique_ptr<rgw::auth::Identity> identity;
|
||||||
|
std::unique_ptr<rgw::auth::Completer> completer;
|
||||||
|
} auth;
|
||||||
|
|
||||||
std::unique_ptr<RGWAccessControlPolicy> user_acl;
|
std::unique_ptr<RGWAccessControlPolicy> user_acl;
|
||||||
RGWAccessControlPolicy *bucket_acl;
|
RGWAccessControlPolicy *bucket_acl;
|
||||||
|
Loading…
Reference in New Issue
Block a user