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 Jakarta Enterprise Beans subsystem level,
to each of the Jakarta Enterprise Beans 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 Jakarta Enterprise Beans components, if no explicit security domain
is configured for the bean.
|
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 setDefaultSecurityDomainName(String securityDomainName)
securityDomainName - The security domain name. Can be null.Copyright © 2022 JBoss by Red Hat. All rights reserved.