Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-782

Wrong Proxy Credentials set for http4/http5 client

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0
    • None

    Description

      f (proxyAuthData != null) {
       final UsernamePasswordCredentials proxyCreds = new UsernamePasswordCredentials(
       UserAuthenticatorUtils.toString(
       UserAuthenticatorUtils.getData(authData, UserAuthenticationData.USERNAME, null)),
       UserAuthenticatorUtils.toString(
       UserAuthenticatorUtils.getData(authData, UserAuthenticationData.PASSWORD, null)));
      
       credsProvider.setCredentials(new AuthScope(proxyHost.getHostName(), AuthScope.ANY_PORT),
       proxyCreds);
      }

      proxy credentials should be taken from proxyAuthData  instead of authData

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            satish.bhor satish bhor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment