[jboss-jira] [JBoss JIRA] (WFLY-11587) org.jboss.as.weld has optional dependency on org.jboss.as.security which causes regression
Matej Novotny (Jira)
issues at jboss.org
Fri Jan 11 06:46:01 EST 2019
[ https://issues.jboss.org/browse/WFLY-11587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13680840#comment-13680840 ]
Matej Novotny commented on WFLY-11587:
--------------------------------------
[~brian.stansberry] since you authored the original PR, when exactly is the {{org.wildfly.legacy-security}} capability present in WFLY?
I don't really know how to fix this (apart from obvious revert) as it seems like Weld needs a mandatory dependency on security in order to be able to inject Principal.
> org.jboss.as.weld has optional dependency on org.jboss.as.security which causes regression
> ------------------------------------------------------------------------------------------
>
> Key: WFLY-11587
> URL: https://issues.jboss.org/browse/WFLY-11587
> Project: WildFly
> Issue Type: Bug
> Components: CDI / Weld, Security
> Affects Versions: 15.0.1.Final
> Reporter: Matej Novotny
> Assignee: Matej Novotny
> Priority: Major
> Fix For: 16.0.0.Beta1
>
>
> This is originally reported on forums, see [this|https://developer.jboss.org/thread/279444] link.
> The post contains a nice reproducer (which should be turned into automated test) along with steps to reproduce.
> The original cause is WFLY-11125 where Weld's dependency on {{org.jboss.as.security}} changed from mandatory to optional. This causes failures when using {{@Inject Principal}}.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list