[
https://issues.apache.org/jira/browse/HADOOP-18547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18034284#comment-18034284
]
ASF GitHub Bot commented on HADOOP-18547:
-----------------------------------------
github-actions[bot] closed pull request #5177: HADOOP-18547. Check if config
value is not empty string in AbfsConfiguration.getMandatoryPasswordString()
URL: https://github.com/apache/hadoop/pull/5177
> Check if config value is not empty string in
> AbfsConfiguration.getMandatoryPasswordString()
> -------------------------------------------------------------------------------------------
>
> Key: HADOOP-18547
> URL: https://issues.apache.org/jira/browse/HADOOP-18547
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs/azure
> Affects Versions: 3.3.4
> Reporter: Pranav Saxena
> Assignee: Pranav Saxena
> Priority: Minor
> Labels: pull-request-available
>
> The method `getMandatoryPasswordString` is called in
> `AbfsConfiguration.getTokenProvider()' to check if following configs are
> non-null (diff keys applicable for different implementation of
> AccessTokenProvider):
> 1. fs.azure.account.oauth2.client.endpoint: in ClientCredsTokenProvider
> 2. fs.azure.account.oauth2.client.id: in ClientCredsTokenProvider,
> MsiTokenProvider, RefreshTokenBasedTokenProvider
> 3. fs.azure.account.oauth2.client.secret: in ClientCredsTokenProvider
> 4. fs.azure.account.oauth2.client.endpoint: in UserPasswordTokenProvider
> 5. fs.azure.account.oauth2.user.name: in UserPasswordTokenProvider
> 6. fs.azure.account.oauth2.user.password: in UserPasswordTokenProvider
> 7. fs.azure.account.oauth2.msi.tenant: in MsiTokenProvider
> 8. fs.azure.account.oauth2.refresh.token: in RefreshTokenBasedTokenProvider
> Right now, this method checks if its non-null and not non-empty. This task
> needs to add check on non-empty config values.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]