]
Darran Lofthouse commented on ELY-368:
--------------------------------------
Where realms create Credential instances they may also need to pass the Provider Supplier
to the Credential so it can use it for subsequent Evidence verification.
Add optional Supplier<Provider[]> to realm implementations.
-----------------------------------------------------------
Key: ELY-368
URL:
https://issues.jboss.org/browse/ELY-368
Project: WildFly Elytron
Issue Type: Enhancement
Reporter: David Lloyd
Priority: Critical
Fix For: 1.1.0.Beta15
Realms use key factories, certificate factories, password factories, etc. Most of the
time they just use the default installed providers. Enhance the realms to accept an
optional {{Supplier<Provider[]>}} which will be used to load these kinds of things.
The default supplier should be {{Security::getProviders()}}.