[jboss-jira] [JBoss JIRA] (WFLY-11125) Make org.jboss.as.security and org.picketbox modules optional dependencies of org.jboss.as.weld

Brian Stansberry (Jira) issues at jboss.org
Fri Oct 5 15:11:00 EDT 2018


Brian Stansberry created WFLY-11125:
---------------------------------------

             Summary: Make org.jboss.as.security and org.picketbox modules optional dependencies of org.jboss.as.weld
                 Key: WFLY-11125
                 URL: https://issues.jboss.org/browse/WFLY-11125
             Project: WildFly
          Issue Type: Enhancement
          Components: CDI / Weld, Security
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry


The more optional deps the Weld subsystem module has, the better as it helps allow slimmer runtimes.

1) org.jboss.as.security -- classes from this module (SimpleSecurityManager[Service] should only be loaded if the org.wildfly.legacy-security capability is present, so this dep can be optional.

2) org.picketbox -- AFAICT these are only used via org.jboss.weld.security.spi.SecurityServices impl methods that are never called.  And it seems like they wouldn't be expected to work without the org.wildfly.legacy-security capability being present anyway. So I believe this dep can be optional.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list