[
https://issues.apache.org/jira/browse/HTTPCLIENT-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14703014#comment-14703014
]
Michael Osipov commented on HTTPCLIENT-1106:
--------------------------------------------
I have removed remains string-based constructors from trunk and marked them as
deprecated in 4.5.x.
> Use character arrays for passwords in Credentials objects, not Strings
> ----------------------------------------------------------------------
>
> Key: HTTPCLIENT-1106
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1106
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpAuth
> Affects Versions: 4.1.1
> Reporter: John Karp
> Fix For: 5.0
>
>
> Its fairly conventional to use char[] to represent passwords in Java, because
> using Strings can present security issues:
> http://securesoftware.blogspot.com/2009/01/java-security-why-not-to-use-string.html
> http://download.oracle.com/javase/1.5.0/docs/guide/security/jce/JCERefGuide.html#PBEEx
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]