public class EJBDefaultSecurityDomainProcessor extends Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor
DeploymentUnitProcessor
which looks for EJBComponentDescription
s 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) |
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)
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.DeploymentUnitProcessor
org.jboss.as.server.deployment.DeploymentUnitProcessingException
public void undeploy(org.jboss.as.server.deployment.DeploymentUnit context)
undeploy
in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
public void setDefaultSecurityDomainName(String securityDomainName)
securityDomainName
- The security domain name. Can be null.Copyright © 2017 JBoss by Red Hat. All rights reserved.