Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5726

CLI client shaded JAR doesn't aggregate services

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 18.0.0.Final
    • CLI
    • None

    Description

      The META-INF/services files:

      • java.security.Provider
      • javax.security.sasl.SaslClientFactory
      • javax.security.sasl.SaslServerFactory

      Don't contain all the service provider implementations that elytron dependency is bringing.

      From What I understand from elytron provider resolution, the providers are resolved differently for elytron: https://github.com/wildfly-security/wildfly-elytron/blob/1.x/provider/util/src/main/java/org/wildfly/security/provider/util/ProviderFactory.java

      So the META-INF/services/* files are not used to resolve the provider implementation.

      Nevertheless it is cleaner to aggregate the providers properly in META-INF/services files.

       

       

      Attachments

        Activity

          People

            jdenise@redhat.com Jean Francois Denise
            jdenise@redhat.com Jean Francois Denise
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: