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 Summary
Constructors Constructor Description AbstractHttpServerMechanismTest()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected static voidassertLoginPage(org.apache.http.HttpResponse response)protected voidassertSuccessfulResponse(org.apache.http.HttpResponse result, String expectedUserName)protected voidassertSuccessfulUnconstraintResponse(org.apache.http.HttpResponse result, String expectedUserName)protected abstract org.wildfly.security.auth.server.SecurityDomaindoCreateSecurityDomain()protected org.wildfly.security.http.HttpServerAuthenticationMechanismFactorygetHttpServerAuthenticationMechanismFactory(Map<String,?> properties)protected abstract StringgetMechanismName()protected org.wildfly.security.auth.server.SecurityDomaingetSecurityDomain()static voidinstallProvider()static voidremoveProvider()
-
-
-
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
-
-