Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1106

Use character arrays for passwords in Credentials objects, not Strings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1.1
    • 5.0 Alpha1
    • HttpClient (classic)
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            jkarp John Karp
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: