Class AbstractUsersRolesSecurityDomainSetup

  • All Implemented Interfaces:
    org.jboss.as.arquillian.api.ServerSetupTask

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

      • AbstractUsersRolesSecurityDomainSetup

        protected AbstractUsersRolesSecurityDomainSetup​(URL userFile,
                                                        URL rolesFile)
    • Method Detail

      • setup

        public void setup​(org.jboss.as.arquillian.container.ManagementClient client,
                          String s)
                   throws Exception
        Specified by:
        setup in interface org.jboss.as.arquillian.api.ServerSetupTask
        Throws:
        Exception
      • tearDown

        public void tearDown​(org.jboss.as.arquillian.container.ManagementClient client,
                             String s)
                      throws Exception
        Specified by:
        tearDown in interface org.jboss.as.arquillian.api.ServerSetupTask
        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