Class AbstractHttpServerMechanismTest
java.lang.Object
org.wildfly.elytron.web.undertow.common.AbstractHttpServerMechanismTest
- Direct Known Subclasses:
BasicAuthenticationBase,BearerTokenAuthenticationBase,ClientCertAuthenticationBase,ExternalAuthenticationBase,FormAuthenticationBase,FormAuthenticationWithClusteredSSOBase,FormAuthenticationWithSessionReplicationBase
- Author:
- Pedro Igor, Paul Ferraro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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.SecurityDomainprotected org.wildfly.security.http.HttpServerAuthenticationMechanismFactorygetHttpServerAuthenticationMechanismFactory(Map<String, ?> properties) protected abstract Stringprotected org.wildfly.security.auth.server.SecurityDomainstatic voidstatic void
-
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
- Throws:
Exception
-
getHttpServerAuthenticationMechanismFactory
-
getMechanismName
-
getSecurityDomain
- Throws:
Exception
-
doCreateSecurityDomain
protected abstract org.wildfly.security.auth.server.SecurityDomain doCreateSecurityDomain() throws Exception- Throws:
Exception
-