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

Revisit AuthenticationFilter.Cache

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:

      Description

      HttpClient currently only supports Basic authentication but the cache maintains a scheme property. Whether it is relevant to support multiple schemes in the cache when the HttpClient only supports Basic authentication out of the box should be reexamined. Another improvement that might be investigated would be to drop the synchronization for Cache::get and use a CopyOnWriteArrayList instead of the current LinkedList.
      See http://mail.openjdk.java.net/pipermail/net-dev/2019-November/013257.html

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michaelm Michael McMahon
                Reporter:
                jboes Julia Boes
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: