leventov commented on issue #6666: PasswordProvider abstraction could be abused for races URL: https://github.com/apache/incubator-druid/issues/6666#issuecomment-442463451 I would suggest to replace it with abstraction like this: ``` interface AbstractCredentialsProvider { List<String> getCredentials(); } ``` Where the implementation is responsible for making the values returned in the list to be consistent. On the user side, `list.get(0)` could be interpreted as "accessKey" or "username" or whatever, `list.get(1)` as "secretKey" or "password", etc.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
