nizhikov commented on a change in pull request #8892:
URL: https://github.com/apache/ignite/pull/8892#discussion_r617344675



##########
File path: 
modules/core/src/main/java/org/apache/ignite/internal/processors/security/GridSecurityProcessor.java
##########
@@ -133,4 +134,39 @@ public void authorize(String name, SecurityPermission 
perm, SecurityContext secu
     public default boolean sandboxEnabled() {
         return false;
     }
+
+    /**
+     * Creates user with the specified login and password.
+     *
+     * @param login Login of the user to be created.
+     * @param pwd User password.
+     * @throws IgniteCheckedException If error occurred.
+     */
+    @IgniteExperimental
+    public default void createUser(String login, String pwd) throws 
IgniteCheckedException {

Review comment:
       We must use `char[] pwd` instead of `String` here and below.




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

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


Reply via email to