Uploaded image for project: 'Gateway'
  1. Gateway
  2. GTWY-1889

Review Use of HttpClient in the Gateway to Make Sure that Proxy Settings are Appropriately set as Needed

XMLWordPrintable

    • Icon: Defect Defect
    • Resolution: Done
    • Icon: Blocker Blocker
    • 2.0.0-RC2
    • 1.2.0-BETA3
    • Codebase
    • None

      Whenever we use a HttpClient in the Gateway we need to make sure that all appropriate proxy settings are set on that HttpClient instance.

      There is a HttpClientFactory that will set both proxy and proxy authentication settings on a newly created HttpClient instance.


      Here is a (possibly incomplete) list of classes that create new instances of HttpClient on their own:
      sgf.gateway.cim.harvest.feed.impl.LinkCIMDocumentExtractor.java
      sgf.gateway.main.security.HttpClient301CertificateRequest.java
      sgf.gateway.saml.attr.service.impl.esg.RemoteAttributesServiceProxySamlSoapImpl.java
      sgf.gateway.service.datanode.impl.AbstractDataNodeClient.java
      sgf.gateway.web.remoting.query.httpinvoker.client.HttpClientFactoryBean.java

      Setting to Blocker because of BADCs need for running the Gateway behind a proxy.

              Unassigned Unassigned
              nhook Nathan Hook
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: