Add a method to set an Authenticator on a HttpURLConnection.

XMLWordPrintable

    • b148

      With today API, it is not possible to login to the same web site/server through HTTP with different credentials. This is because HttpURLConnection will always use the default Authenticator, which is global.

      Adding a new HttpURLConnection::setAuthenticator method would help solve this issue.

      For compatibility reasons, an HttpURLConnection on which no authenticator was explicitly set should continue using the default authenticator.

            Assignee:
            Daniel Fuchs
            Reporter:
            Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: