[
https://issues.jboss.org/browse/WFLY-11587?page=com.atlassian.jira.plugin...
]
Brian Stansberry commented on WFLY-11587:
-----------------------------------------
[~manovotn] The org.wildfly.legacy-security capability is present in the runtime if
subsystem=security is in the config.
Adding 'optional="true"' to the module.xml files is not likely the
issue. That only matters if the relevant modules are not present on the filesystem, and
the forum post gives no reason to think they aren't. (The driver behind WFLY-11125 was
to help make it possible to provision a server without unneeded modules on the FS, but
there's nothing in WF 15 that actually took advantage of that.)
So if WFLY-11125 is the cause it's probably the java code change not the module.xml
change.
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)