[jboss-jira] [JBoss JIRA] (ELY-368) Add optional Supplier<Provider[]> to realm implementations.

Darran Lofthouse (JIRA) issues at jboss.org
Sat Nov 19 13:17:00 EST 2016


    [ https://issues.jboss.org/browse/ELY-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13325276#comment-13325276 ] 

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()}}.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list