[jboss-jira] [JBoss JIRA] (WFLY-9126) Deployment fails when application domain names referrencing one Elytron domain are different in Undertow and EJB subsystems
Josef Cacek (JIRA)
issues at jboss.org
Tue Jul 25 07:05:01 EDT 2017
Josef Cacek created WFLY-9126:
---------------------------------
Summary: Deployment fails when application domain names referrencing one Elytron domain are different in Undertow and EJB subsystems
Key: WFLY-9126
URL: https://issues.jboss.org/browse/WFLY-9126
Project: WildFly
Issue Type: Bug
Components: Web (Undertow), EJB, Security
Reporter: Josef Cacek
Assignee: Stuart Douglas
Priority: Critical
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:
{code:xml|title=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>
{code}
{code:xml|title=jboss-web.xml}
<jboss-web>
<security-domain>seccontext-web</security-domain>
</jboss-web>
{code}
{code:title=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)
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list