Class AbstractUsersRolesSecurityDomainSetup

java.lang.Object
org.jboss.as.arquillian.setup.ReloadServerSetupTask
org.jboss.resteasy.setup.AbstractUsersRolesSecurityDomainSetup
All Implemented Interfaces:
org.jboss.as.arquillian.api.ServerSetupTask

public abstract class AbstractUsersRolesSecurityDomainSetup extends org.jboss.as.arquillian.setup.ReloadServerSetupTask implements org.jboss.as.arquillian.api.ServerSetupTask
This abstract class implements steps needed to create Elytron security domain.
  • Constructor Details

    • AbstractUsersRolesSecurityDomainSetup

      protected AbstractUsersRolesSecurityDomainSetup(URL userFile, URL rolesFile)
  • Method Details

    • doSetup

      public void doSetup(org.jboss.as.arquillian.container.ManagementClient client, String s) throws Exception
      Overrides:
      doSetup in class org.jboss.as.arquillian.setup.ReloadServerSetupTask
      Throws:
      Exception
    • doTearDown

      public void doTearDown(org.jboss.as.arquillian.container.ManagementClient client, String s) throws Exception
      Overrides:
      doTearDown in class org.jboss.as.arquillian.setup.ReloadServerSetupTask
      Throws:
      Exception
    • getSecurityDomainConfig

      public Map<String,String> getSecurityDomainConfig()
      A map of the security domain configuration. The key is the security domain name and the value is the realm name.

      Override this method to configure more than one security domain.

      Returns:
      the security domain configuration