Details

    • Affects:
      Compatibility/Configuration
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      Currently, there's special org.keycloak/keycloak-osgi-thirdparty bundle that repackages httpcore + httpclient and exports their packages in OSGi bundle.

      The problem is that both httpcore (4.4.4 for now) and httpclient (4.5.2 for now) packages are exported using:

      <keycloak.osgi.export>
          org.apache.http.*;version=${apache.httpcomponents.version}
      </keycloak.osgi.export>
      

      Same for import side from:

      • mvn:org.keycloak/keycloak-adapter-core/4.0.0.Beta3-SNAPSHOT
      • mvn:org.keycloak/keycloak-authz-client/4.0.0.Beta3-SNAPSHOT

      The packages should be correctly versioned (proper version of httpcore and httpclient) so if runtime (like Fuse) already provides:

      • mvn:org.apache.httpcomponents/httpcore-osgi/4.4.9
      • mvn:org.apache.httpcomponents/httpclient-osgi/4.5.5

      keycloak-osgi-thirdparty is not installed. Otherwise we may end up with multiple bundles providing httpcore and httpclient packages (when httpcore packages are exported with wrong version).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  hmlnarik Hynek Mlnařík
                  Reporter:
                  kaja.mohideen Kaja Mohideen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: