Class EJBDefaultSecurityDomainProcessor

  • All Implemented Interfaces:
    org.jboss.as.server.deployment.DeploymentUnitProcessor

    public class EJBDefaultSecurityDomainProcessor
    extends Object
    implements org.jboss.as.server.deployment.DeploymentUnitProcessor
    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
    • Method Detail

      • deploy

        public void deploy​(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext)
                    throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
        Specified by:
        deploy in interface org.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.