In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces the use of RGW S3 ACL, the article is very detailed, has a certain reference value, interested friends must read it!
The RGW ACL main class diagram is shown in the following figure:
The RGW ACL processing class diagram is shown in the following figure:
The main processing flow of RGW ACL is described in detail as follows.
First, PUT ACL.
RGWPutACL::execute ()
| | _ _ parse the RGWAccessControlPolicy_S3 object from the HTTP request data stream |
| | _ RGWAccessControlPolicy_S3::rebuild () |
| | _ _ rgw_get_user_info_by_uid () gets the specified user information |
| | _ _ create ACLOwner object and set id and name of ACLOwner |
| | _ _ traverse the grant_map list to generate new ACLGrant objects |
| | _ _ insert the newly generated ACLGrant object into RGWAccessControlList::grant_map |
| | _ _ generate rgw_obj objects based on bucket and object information |
| | _ _ for setting the ACL of an object, the ACL information of the object is written to the RGW_ATTR_ACL of the object properties, and for the ACL of setting bucket, the ACL information is written to the metadata of Bucket. |
Second, GET ACL.
RGWGetACLs::execute ()
| | _ _ determine whether you need bucket ACL or object ACL |
| | _ _ generate RGWAccessControlPolicy_S3 object |
| | _ _ RGWAccessControlPolicy_S3::to_xml () xmlizes the RGWAccessControlPolicy_S3 object |
The above is all the content of the article "what is the use of RGW S3 ACL?" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.