Class EJBDefaultSecurityDomainProcessor
java.lang.Object
org.jboss.as.ejb3.deployment.processors.EJBDefaultSecurityDomainProcessor
- All Implemented Interfaces:
BooleanSupplier,Function<String,,ApplicationSecurityDomainConfig> org.jboss.as.server.deployment.DeploymentUnitProcessor
public class EJBDefaultSecurityDomainProcessor
extends Object
implements org.jboss.as.server.deployment.DeploymentUnitProcessor, Function<String,ApplicationSecurityDomainConfig>, BooleanSupplier
A
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.- Author:
- Jaikiran Pai
-
Constructor Summary
ConstructorsConstructorDescriptionEJBDefaultSecurityDomainProcessor(AtomicReference<String> defaultSecurityDomainName, Iterable<ApplicationSecurityDomainConfig> knownApplicationSecurityDomains, Iterable<String> outflowSecurityDomains) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeploy(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.server.deployment.DeploymentUnitProcessor
undeploy
-
Constructor Details
-
EJBDefaultSecurityDomainProcessor
public EJBDefaultSecurityDomainProcessor(AtomicReference<String> defaultSecurityDomainName, Iterable<ApplicationSecurityDomainConfig> knownApplicationSecurityDomains, Iterable<String> outflowSecurityDomains)
-
-
Method Details
-
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
-
apply
- Specified by:
applyin interfaceFunction<String,ApplicationSecurityDomainConfig>
-
getAsBoolean
public boolean getAsBoolean()- Specified by:
getAsBooleanin interfaceBooleanSupplier
-