Class FormAuthenticationWithClusteredSSOBase
- java.lang.Object
-
- org.wildfly.elytron.web.undertow.common.AbstractHttpServerMechanismTest
-
- org.wildfly.elytron.web.undertow.common.FormAuthenticationWithClusteredSSOBase
-
public abstract class FormAuthenticationWithClusteredSSOBase extends AbstractHttpServerMechanismTest
Test case to test HTTP FORM authentication where authentication is backed by Elytron and session replication is enabled.- Author:
- Pedro Igor, Paul Ferraro
-
-
Field Summary
Fields Modifier and Type Field Description UndertowServerserverAUndertowServerserverBUndertowServerserverCUndertowServerserverDUndertowServerserverEprotected Map<Integer,io.undertow.server.session.SessionManager>sessionManagers
-
Constructor Summary
Constructors Modifier Constructor Description protectedFormAuthenticationWithClusteredSSOBase()
-
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 org.wildfly.security.http.HttpServerAuthenticationMechanismFactorygetHttpServerAuthenticationMechanismFactory(Map<String,?> properties)protected StringgetMechanismName()voidtestSessionInvalidation()voidtestSingleLogout()voidtestSingleLogoutWhenNodeIsFailing()voidtestSingleSignOn()-
Methods inherited from class org.wildfly.elytron.web.undertow.common.AbstractHttpServerMechanismTest
assertLoginPage, assertSuccessfulResponse, assertSuccessfulUnconstraintResponse, getSecurityDomain, installProvider, removeProvider
-
-
-
-
Field Detail
-
sessionManagers
protected final Map<Integer,io.undertow.server.session.SessionManager> sessionManagers
-
serverA
public final UndertowServer serverA
-
serverB
public final UndertowServer serverB
-
serverC
public final UndertowServer serverC
-
serverD
public final UndertowServer serverD
-
serverE
public final UndertowServer serverE
-
-
Method Detail
-
testSingleLogoutWhenNodeIsFailing
public void testSingleLogoutWhenNodeIsFailing() 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
-
getHttpServerAuthenticationMechanismFactory
protected org.wildfly.security.http.HttpServerAuthenticationMechanismFactory getHttpServerAuthenticationMechanismFactory(Map<String,?> properties)
- Overrides:
getHttpServerAuthenticationMechanismFactoryin classAbstractHttpServerMechanismTest
-
createUndertowServer
protected abstract UndertowServer createUndertowServer(int port) throws Exception
- Throws:
Exception
-
-