INNOCENT-BOY commented on PR #11904: URL: https://github.com/apache/pinot/pull/11904#issuecomment-1786311905
> What if user changed the auth, how long will it reflect? > > I feel a better solution is to use zookeeper listener to update the cache, so it's up to date and you just need to init it once during startup time. If a user changes their password, it will take effect immediately. Because encrypted password is used as key of cache entry. When user change password, it will execute Brypt.checkpw to check and put it to cache again. The reason why we set expire time is that cache save old password in the cache. -- 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]
