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

Authorization header removed for preemptive authentication by user code

XMLWordPrintable

    • 6
    • b85
    • generic
    • generic

      If user code sets the "Authorization" header to preempt an Authentication request by the server, or simply because Sun's JDK does not support that scheme, and the URL being requested redirects, then the "Authorization" header is never sent. This is because sun.net.www.protocol.http.HttpURLConnection now removes this header before redirecting. This was not the case in tiger. Hence it appears as a regression in mustang

            chegar Chris Hegarty
            chegar Chris Hegarty
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: