Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1526

Update the default provider supplier to be an aggregate of the WildFlyElytronProvider plus the installed providers in order to ensure the WildFlyElytronProvider comes first

    XMLWordPrintable

Details

    Description

      As Martin Choma mentioned on WFLY-9899, the security providers are being loaded in a different order on JDK 8 vs JDK 9. With JDK 9, the WildFlyElytronProvider is no longer at the beginning of the providers array as it is with JDK 8. With JDK 9, the providers array also contains duplicate providers - they're being added once from the service loader and once from the installed providers.

      Update the default provider supplier to be an aggregate of:

      1. WildFlyElytronProvider
      2. The security providers loaded using the service loader mechanism ensuring that any provider that is already an installed provider is skipped
      3. The installed providers

      For WildFly 13, we can look at enhancing this by introducing a security provider selector mechanism. This is tracked in ELY-1530.

      Attachments

        Issue Links

          Activity

            People

              fjuma1@redhat.com Farah Juma
              fjuma1@redhat.com Farah Juma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: