petrov-mg commented on code in PR #12429:
URL: https://github.com/apache/ignite/pull/12429#discussion_r2438873293


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/security/IgniteSecurity.java:
##########
@@ -42,30 +44,43 @@
  */
 public interface IgniteSecurity {
     /**
-     * Creates {@link OperationSecurityContext}. All calls of methods {@link 
#authorize(String, SecurityPermission)} or {@link
-     * #authorize(SecurityPermission)} will be processed into the context of 
passed {@link SecurityContext} until
-     * holder {@link OperationSecurityContext} will be closed.
+     * Creates new {@link Scope} with provided {@link SecurityContext}.
      *
      * @param secCtx Security Context.
-     * @return Security context holder.
+     * @return Thread Context Scope.
+     *
+     * @see #withContext(Scope, SecurityContext

Review Comment:
   Done.



-- 
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]

Reply via email to