Class AbstractHttpServerMechanismTest

    • Constructor Detail

      • AbstractHttpServerMechanismTest

        public AbstractHttpServerMechanismTest()
    • Method Detail

      • 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