Details
-
Bug
-
Resolution: Won't Do
-
Critical
-
None
-
None
-
None
Description
The WAR deployment fails when it contains EJBs and Servlets with security domains mapped under different names (application-security-domain). The underlying Elytron domain is the same for both subsystems.
EJB subsystem tries to search also for the domain name which is used in jboss-web.xml and this lookup fails.
Sample configuration:
jboss-ejb3.xml
<jboss:ejb-jar> <assembly-descriptor><s:security> <ejb-name>*</ejb-name> <s:security-domain>seccontext-whoami</s:security-domain> </s:security></assembly-descriptor> </jboss:ejb-jar>
jboss-web.xml
<jboss-web> <security-domain>seccontext-web</security-domain> </jboss-web>
application-security-domain-mapping.cli
/subsystem=ejb3/application-security-domain=seccontext-whoami:add( \ security-domain=ApplicationDomain) /subsystem=undertow/application-security-domain=seccontext-web:add( \ http-authentication-factory=application-http-authentication)
Attachments
Issue Links
- clones
-
JBEAP-12328 Deployment fails when application domain names referrencing one Elytron domain are different in Undertow and EJB subsystems
- Closed