public class EJBDefaultSecurityDomainProcessor extends Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor
DeploymentUnitProcessor which looks for EJBComponentDescriptions in the deployment
unit and sets the default security domain name, that's configured at the EJB subsystem level,
to each of the EJB component descriptions.| Constructor and Description |
|---|
EJBDefaultSecurityDomainProcessor(String defaultSecurityDomainName,
Function<String,ApplicationSecurityDomainConfig> knownSecurityDomain,
BooleanSupplier outflowSecurityDomainsConfigured) |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) |
void |
setDefaultSecurityDomainName(String securityDomainName)
Sets the default security domain name to be used for EJB components, if no explicit security domain
is configured for the bean.
|
void |
undeploy(org.jboss.as.server.deployment.DeploymentUnit context) |
public EJBDefaultSecurityDomainProcessor(String defaultSecurityDomainName, Function<String,ApplicationSecurityDomainConfig> knownSecurityDomain, BooleanSupplier outflowSecurityDomainsConfigured)
public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
deploy in interface org.jboss.as.server.deployment.DeploymentUnitProcessororg.jboss.as.server.deployment.DeploymentUnitProcessingExceptionpublic void undeploy(org.jboss.as.server.deployment.DeploymentUnit context)
undeploy in interface org.jboss.as.server.deployment.DeploymentUnitProcessorpublic void setDefaultSecurityDomainName(String securityDomainName)
securityDomainName - The security domain name. Can be null.Copyright © 2020 JBoss by Red Hat. All rights reserved.