[jboss-jira] [JBoss JIRA] (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

Farah Juma (JIRA) issues at jboss.org
Fri Feb 23 14:42:00 EST 2018


Farah Juma created ELY-1526:
-------------------------------

             Summary: Update the default provider supplier to be an aggregate of the WildFlyElytronProvider plus the installed providers in order to ensure the WildFlyElytronProvider comes first
                 Key: ELY-1526
                 URL: https://issues.jboss.org/browse/ELY-1526
             Project: WildFly Elytron
          Issue Type: Task
          Components: Authentication Client
            Reporter: Farah Juma
            Assignee: Farah Juma


As Martin Choma [mentioned|https://issues.jboss.org/browse/WFLY-9899?focusedCommentId=13537481&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13537481] 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. As discussed with David Lloyd, the best way to fix this is likely to just have the default supplier be an aggregate of the WildFlyElytronProvider plus the installed providers and drop the service loader part.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list