fmorg-git commented on code in PR #9214:
URL: https://github.com/apache/ozone/pull/9214#discussion_r2524780639


##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/security/acl/RequestContext.java:
##########
@@ -43,20 +43,43 @@ public class RequestContext {
    */
   private final boolean recursiveAccessCheck;
 
+  /**
+   * Represents optional session policy JSON for Ranger to use when authorizing
+   * an STS token.  This value would have come as a result of a previous
+   * {@link 
IAccessAuthorizer#generateAssumeRoleSessionPolicy(AssumeRoleRequest)} call.
+   */
+  private final String sessionPolicy;

Review Comment:
   I added in the Javadoc that the sessionPolicy includes the roleName



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to