[
https://issues.apache.org/jira/browse/YARN-2373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14093027#comment-14093027
]
Jian He commented on YARN-2373:
-------------------------------
First look, this seems to be a bug ? earlier the first parameter is
"sslConf.get("ssl.server.truststore.location")", but now it's changed to
passwd,
{code}
.trustStore(getPassword(sslConf, WEB_APP_TRUSTSTORE_PASSWORD_KEY),
sslConf.get(WEB_APP_TRUSTSTORE_PASSWORD_KEY),
{code}
> WebAppUtils Should Use configuration.getPassword for Accessing SSL Passwords
> ----------------------------------------------------------------------------
>
> Key: YARN-2373
> URL: https://issues.apache.org/jira/browse/YARN-2373
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Larry McCay
> Attachments: YARN-2373.patch, YARN-2373.patch, YARN-2373.patch
>
>
> As part of HADOOP-10904, this jira represents a change to WebAppUtils to
> uptake the use of the credential provider API through the new method on
> Configuration called getPassword.
> This provides an alternative to storing the passwords in clear text within
> the ssl-server.xml file while maintaining backward compatibility with that
> behavior.
--
This message was sent by Atlassian JIRA
(v6.2#6252)