Class UndertowDomainMapper

java.lang.Object
org.wildfly.test.security.common.elytron.AbstractConfigurableElement
org.wildfly.test.security.common.elytron.UndertowDomainMapper
All Implemented Interfaces:
ConfigurableElement

@Deprecated public class UndertowDomainMapper extends AbstractConfigurableElement
Deprecated.
Configures more than one resource, use UndertowApplicationSecurityDomain
Creates Undertow mapping to Elytron security domain. The Undertow-to-Elytron mapping goes from Undertow applicationDomain configuration to Elytron's http-authentication-factory (which uses a http-server-mechanism-factor). The http-authentication-factory then references Elytron security domain to be used.

Configuration of this undertow mapping may contain set of application domains names (referenced as security-domains in jboss-web.xml) to be mapped to given security domain name. If applicationDomains is not configured for the mapper (i.e. it's empty), then just one mapping is created with applicationDomain name the same as Elytron security domain name. If the applicationDomains attribute is not empty, then just the provided names are mapped (i.e. the Elytron domain name is not used automatically in such case).

Author:
Josef Cacek
  • Method Details

    • create

      public void create(org.jboss.as.test.integration.management.util.CLIWrapper cli) throws Exception
      Deprecated.
      Description copied from interface: ConfigurableElement
      Creates this element in domain model and also creates other resources if needed (e.g. external files)
      Parameters:
      cli - connected CLIWrapper instance
      Throws:
      Exception
    • remove

      public void remove(org.jboss.as.test.integration.management.util.CLIWrapper cli) throws Exception
      Deprecated.
      Description copied from interface: ConfigurableElement
      Reverts the changes introdued by create(...) method(s).
      Throws:
      Exception
    • builder

      public static UndertowDomainMapper.Builder builder()
      Deprecated.
      Creates builder to build UndertowDomainMapper.
      Returns:
      created builder