Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4815

Invalid login creds will send many requests to server

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.9, 2.6.6, 2.7.3
    • Fix Version/s: 2.7.4, 2.6.7, 2.5.10
    • Component/s: Transports
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      If you set authorizations stuff in the HTTPConduit with a wrong password or username and issue a GET, 20 requests are sent to the server. For non-streaming connections (like GET), for the 401 response, the HttpURLConnection calls the Authenticator to get auth information. We create a new PasswordAuthentication object and return it each time. However, the HttpURLConnection does not compare that returned value with the previous value and will keep trying until it hits the http.maxRedirects value (default is 20).

        Attachments

          Activity

            People

            • Assignee:
              cschneider Christian Schneider
              Reporter:
              dkulp Daniel Kulp
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: