Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4513440

BasicAuthentication is zeroing out the given password

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.1
    • 1.3.1
    • core-libs
    • None
    • hopper
    • unknown
    • generic

      The BasicAuthentication implementation uses the username and
      password provided by the application Authenticator class,
      but before returning to the user, it clears out the password
      from the char[] passed in. This behavior is not documented
      and means that repeated attempts to use the same PasswordAuthentication
      instance will fail from the second attempt onwards.

            michaelm Michael McMahon
            michaelm Michael McMahon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: