INNOCENT-BOY commented on code in PR #11904:
URL: https://github.com/apache/pinot/pull/11904#discussion_r1382732504
##########
pinot-broker/src/main/java/org/apache/pinot/broker/broker/ZkBasicAuthAccessControlFactory.java:
##########
@@ -135,7 +135,8 @@ private Optional<ZkBasicAuthPrincipal>
getPrincipalAuth(RequesterIdentity reques
Optional<ZkBasicAuthPrincipal> principalOpt =
password2principal.entrySet().stream()
- .filter(entry -> BcryptUtils.checkpw(entry.getKey(),
entry.getValue().getPassword()))
+ .filter(entry -> BcryptUtils.checkpwWithCache(entry.getKey(),
entry.getValue().getPassword(),
+ _userCache.getUserPasswordAuthCache()))
Review Comment:
Hi @Jackie-Jiang , I have reformat all changes about files in this PR,
Please review again.
--
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]