You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2022/01/07 14:48:41 UTC
[GitHub] [hadoop] steveloughran commented on a change in pull request #3865: HADOOP-18066: AbstractJavaKeyStoreProvider: need a way to read credential store password from Configuration
steveloughran commented on a change in pull request #3865:
URL: https://github.com/apache/hadoop/pull/3865#discussion_r780308722
##########
File path: hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/alias/AbstractJavaKeyStoreProvider.java
##########
@@ -308,15 +311,24 @@ public void flush() throws IOException {
/**
* Open up and initialize the keyStore.
*
+ * Password evaluation precedence order:
Review comment:
should be an html numbered list
##########
File path: hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java
##########
@@ -2485,7 +2485,7 @@ private CredentialEntry getCredentialEntry(CredentialProvider provider,
* @param name
* @return clear text password or null
*/
- protected char[] getPasswordFromConfig(String name) {
+ public char[] getPasswordFromConfig(String name) {
Review comment:
is there any risk of recursive store init going on?
##########
File path: hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java
##########
@@ -988,6 +988,14 @@
public static final String HADOOP_SECURITY_CREDENTIAL_PASSWORD_FILE_KEY =
"hadoop.security.credstore.java-keystore-provider.password-file";
+ /**
Review comment:
this will need docs with the other credential options
--
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: common-issues-unsubscribe@hadoop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org