Propagating security identity from WAR subdeployment to EJB subdeployment

3 views
Skip to first unread message

Bence Kovács

unread,
Jan 16, 2026, 12:59:05 PM (12 hours ago) Jan 16
to WildFly
Hi,

We've been upgrading from WildFly 24 to 38, leaving behind the legacy security for elytron - oidc - keycloak auth. We are deploying an EAR with several WAR and EJB subdeployments. When we are calling EJBs via remoting everything works fine, but when we are calling a REST endpoint from a WAR that injects an EJB from an EJB subdeployment, the security identity is not propagated and we are getting an anonymous call. Ive written a stackoverflow post about it with the relevant standalone.xml bits.


Any help is appriciated!

Thanks!
Reply all
Reply to author
Forward
0 new messages