Class EJBDefaultSecurityDomainProcessor
- java.lang.Object
-
- org.jboss.as.ejb3.deployment.processors.EJBDefaultSecurityDomainProcessor
-
- All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor
public class EJBDefaultSecurityDomainProcessor extends Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor
ADeploymentUnitProcessorwhich looks forEJBComponentDescriptions in the deployment unit and sets the default security domain name, that's configured at the Jakarta Enterprise Beans subsystem level,to each of the Jakarta Enterprise Beans component descriptions.- Author:
- Jaikiran Pai
-
-
Constructor Summary
Constructors Constructor Description EJBDefaultSecurityDomainProcessor(String defaultSecurityDomainName, Function<String,ApplicationSecurityDomainConfig> knownSecurityDomain, BooleanSupplier outflowSecurityDomainsConfigured)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)voidsetDefaultSecurityDomainName(String securityDomainName)Sets the default security domain name to be used for Jakarta Enterprise Beans components, if no explicit security domain is configured for the bean.
-
-
-
Constructor Detail
-
EJBDefaultSecurityDomainProcessor
public EJBDefaultSecurityDomainProcessor(String defaultSecurityDomainName, Function<String,ApplicationSecurityDomainConfig> knownSecurityDomain, BooleanSupplier outflowSecurityDomainsConfigured)
-
-
Method Detail
-
deploy
public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException- Specified by:
deployin interfaceorg.jboss.as.server.deployment.DeploymentUnitProcessor- Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-
setDefaultSecurityDomainName
public void setDefaultSecurityDomainName(String securityDomainName)
Sets the default security domain name to be used for Jakarta Enterprise Beans components, if no explicit security domain is configured for the bean.- Parameters:
securityDomainName- The security domain name. Can be null.
-
-