[jboss-jira] [JBoss JIRA] (WFCORE-3878) Make implementing the org.wildfly.extension.elytron.Configurable optional for configurable components.
Darran Lofthouse (JIRA)
issues at jboss.org
Wed May 23 10:22:01 EDT 2018
Darran Lofthouse created WFCORE-3878:
----------------------------------------
Summary: Make implementing the org.wildfly.extension.elytron.Configurable optional for configurable components.
Key: WFCORE-3878
URL: https://issues.jboss.org/browse/WFCORE-3878
Project: WildFly Core
Issue Type: Feature Request
Components: Security
Reporter: Darran Lofthouse
Assignee: Martin Mazanek
Fix For: 6.0.0.Alpha1
Presently custom components within the Elytron subsystem are required to implement the 'org.wildfly.extension.elytron.Configurable' interface if they wish to support receiving a Map of configuration Strings.
This means that the custom component needs to depend on both the WildFly Elytron project and the subsystem.
It should be possible for components to add the following method without implementing the interface and be configurable.
{noformat}
void initialize(final Map<String, String> configuration);
{noformat}
We also have a long standing issue in that if we add a new component to WildFly Elytron it can not be used until we can add a resource to configure it. By supporting configurable custom components without needing a dependency on the subsystem new components added to WildFly Elytron could be usable whilst the subsystem definitions catch up.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list