[jboss-jira] [JBoss JIRA] (WFLY-6550) Invalid use of ModuleIdentifier.create(String) for dynamic names prevents use of slots

Brian Stansberry (JIRA) issues at jboss.org
Fri Apr 22 17:34:00 EDT 2016


     [ https://issues.jboss.org/browse/WFLY-6550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated WFLY-6550:
-----------------------------------
    Component/s: JCA
                 JMS
                 Security
                 Security Manager
                 Web (Undertow)


> Invalid use of ModuleIdentifier.create(String) for dynamic names prevents use of slots
> --------------------------------------------------------------------------------------
>
>                 Key: WFLY-6550
>                 URL: https://issues.jboss.org/browse/WFLY-6550
>             Project: WildFly
>          Issue Type: Bug
>          Components: JCA, JMS, Security, Security Manager, Web (Undertow)
>    Affects Versions: 10.0.0.Final
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>
> The ModuleIdentifier.create(String) method is a convenience method for creating an id with a slot of "main". Using this method for user-provided module names prevents the user from encoding a slot into their string. Better is to use ModuleIdentifier.fromString(String) which will parse out a slot if present.
> WFCORE-1499 is due to this problem; reviewing the PR for it led me to investigate core and full for other occurrences. Found a few.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list