[
https://issues.jboss.org/browse/WFLY-11587?page=com.atlassian.jira.plugin...
]
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)