lasdf1234 commented on code in PR #11226:
URL: https://github.com/apache/gravitino/pull/11226#discussion_r3311956044


##########
plugins/idp-basic/src/main/java/org/apache/gravitino/idp/IdpUserGroupManager.java:
##########
@@ -76,7 +126,7 @@ public IdpUserGroupManager(Config config, IdGenerator 
idGenerator) {
    */
   public IdpUser addUser(String username, String password) throws IOException {
     USER_SERVICE.insertIdpUser(newUserPO(username, 
passwordHasher.hash(password)));
-    return new IdpUser(username, Collections.emptyList());
+    return new IdpUser(username, null, Collections.emptyList());

Review Comment:
   Got  The passwordHash was calculated in advance and then stored in this 
object. Resolved.



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