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

Wrong Proxy Credentials set for http4/http5 client

    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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: