Class FormAuthenticationWithSessionReplicationBase
- java.lang.Object
-
- org.wildfly.elytron.web.undertow.common.AbstractHttpServerMechanismTest
-
- org.wildfly.elytron.web.undertow.common.FormAuthenticationWithSessionReplicationBase
-
public abstract class FormAuthenticationWithSessionReplicationBase extends AbstractHttpServerMechanismTest
Test case to test HTTP FORM authentication where authentication is backed by Elytron and session replication is enabled.- Author:
- Pedro Igor
-
-
Field Summary
Fields Modifier and Type Field Description UndertowServerserverAUndertowServerserverBUndertowServerserverC
-
Constructor Summary
Constructors Modifier Constructor Description protectedFormAuthenticationWithSessionReplicationBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract UndertowServercreateUndertowServer(int port)protected org.wildfly.security.auth.server.SecurityDomaindoCreateSecurityDomain()protected StringgetMechanismName()voidtestSessionInvalidation()voidtestSuccessFulAuthentication()-
Methods inherited from class org.wildfly.elytron.web.undertow.common.AbstractHttpServerMechanismTest
assertLoginPage, assertSuccessfulResponse, assertSuccessfulUnconstraintResponse, getHttpServerAuthenticationMechanismFactory, getSecurityDomain, installProvider, removeProvider
-
-
-
-
Field Detail
-
serverA
public UndertowServer serverA
-
serverB
public UndertowServer serverB
-
serverC
public UndertowServer serverC
-
-
Method Detail
-
testSuccessFulAuthentication
public void testSuccessFulAuthentication() throws Exception- Throws:
Exception
-
getMechanismName
protected String getMechanismName()
- Specified by:
getMechanismNamein classAbstractHttpServerMechanismTest
-
doCreateSecurityDomain
protected org.wildfly.security.auth.server.SecurityDomain doCreateSecurityDomain() throws Exception- Specified by:
doCreateSecurityDomainin classAbstractHttpServerMechanismTest- Throws:
Exception
-
createUndertowServer
protected abstract UndertowServer createUndertowServer(int port) throws Exception
- Throws:
Exception
-
-