-
Bug
-
Resolution: Done
-
Major
-
None
-
None
If the security domain for an EJB has been explicitly configured as the empty string, the following exception occurs in EJBDefaultSecurityDomainProcessor
Caused by: java.lang.IllegalArgumentException: Empty name segment is not allowed for virtual-security-domain at org.jboss.msc@1.5.0.CR1//org.jboss.msc.service.ServiceName.of(ServiceName.java:91) at org.jboss.msc@1.5.0.CR1//org.jboss.msc.service.ServiceName.append(ServiceName.java:118) at org.jboss.as.controller@20.0.0.Beta8//org.jboss.as.controller.OperationContextImpl$CapabilityServiceSupportImpl.getCapabilityServiceName(OperationContextImpl.java:2601) at org.jboss.as.server@20.0.0.Beta8//org.jboss.as.server.security.VirtualDomainMarkerUtility.virtualDomainMetaDataName(VirtualDomainMarkerUtility.java:68) at org.jboss.as.ejb3@28.0.0.Beta1-SNAPSHOT//org.jboss.as.ejb3.deployment.processors.EJBDefaultSecurityDomainProcessor.isVirtualDomain(EJBDefaultSecurityDomainProcessor.java:286) at org.jboss.as.ejb3@28.0.0.Beta1-SNAPSHOT//org.jboss.as.ejb3.deployment.processors.EJBDefaultSecurityDomainProcessor.deploy(EJBDefaultSecurityDomainProcessor.java:134) at org.jboss.as.server@20.0.0.Beta8//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:182) ... 8 more
We need to update the logic to handle the case where the security domain is empty.