Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3453

Use UrlConnectionFactory to handle HTTP Client SPNEGO for ozone components

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.5.0
    • 1.0.0
    • None

    Description

      Some of the places that need to be fixed, otherwise those http client won't be able to access the endpoints when SPNEGO is enabled on the server side.

      ReconUtils#makeHttpCall
      OzoneManagerSnapshotProvider#getOzoneManagerDBSnapshot

      The right API to use should be URLConnectionFactory
      public URLConnection openConnection(URL url, boolean isSpnego)

      The isSpnego should be based on OzoneSecurityUtil.isHttpSecurityEnabled()

      Attachments

        Issue Links

          Activity

            People

              xyao Xiaoyu Yao
              xyao Xiaoyu Yao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: