Class AbstractHttpServerMechanismTest

java.lang.Object
org.wildfly.elytron.web.undertow.common.AbstractHttpServerMechanismTest
Direct Known Subclasses:
BasicAuthenticationBase, BearerTokenAuthenticationBase, ClientCertAuthenticationBase, ExternalAuthenticationBase, FormAuthenticationBase, FormAuthenticationWithClusteredSSOBase, FormAuthenticationWithSessionReplicationBase

public abstract class AbstractHttpServerMechanismTest extends Object
Author:
Pedro Igor, Paul Ferraro
  • Constructor Details

    • AbstractHttpServerMechanismTest

      public AbstractHttpServerMechanismTest()
  • Method Details

    • installProvider

      public static void installProvider()
    • removeProvider

      public static void removeProvider()
    • assertSuccessfulResponse

      protected void assertSuccessfulResponse(org.apache.http.HttpResponse result, String expectedUserName)
    • assertSuccessfulUnconstraintResponse

      protected void assertSuccessfulUnconstraintResponse(org.apache.http.HttpResponse result, String expectedUserName)
    • assertLoginPage

      protected static void assertLoginPage(org.apache.http.HttpResponse response) throws Exception
      Throws:
      Exception
    • getHttpServerAuthenticationMechanismFactory

      protected org.wildfly.security.http.HttpServerAuthenticationMechanismFactory getHttpServerAuthenticationMechanismFactory(Map<String,?> properties)
    • getMechanismName

      protected abstract String getMechanismName()
    • getSecurityDomain

      protected org.wildfly.security.auth.server.SecurityDomain getSecurityDomain() throws Exception
      Throws:
      Exception
    • doCreateSecurityDomain

      protected abstract org.wildfly.security.auth.server.SecurityDomain doCreateSecurityDomain() throws Exception
      Throws:
      Exception