Class SecurityDomainResolvingProcessor

java.lang.Object
org.wildfly.extension.undertow.deployment.SecurityDomainResolvingProcessor
All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor

public class SecurityDomainResolvingProcessor extends Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor
A DeploymentUnitProcessor to resolve the security domain name for the deployment.
Author:
Darran Lofthouse
  • Constructor Details

    • SecurityDomainResolvingProcessor

      public SecurityDomainResolvingProcessor(String defaultSecurityDomain, Predicate<String> mappedSecurityDomain)
  • Method Details

    • 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
    • undeploy

      public void undeploy(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
      Specified by:
      undeploy in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
    • unprefixSecurityDomain

      public static String unprefixSecurityDomain(String securityDomain)