Class FormAuthenticationBase
java.lang.Object
org.wildfly.elytron.web.undertow.common.AbstractHttpServerMechanismTest
org.wildfly.elytron.web.undertow.common.FormAuthenticationBase
Test case to test HTTP FORM authentication where authentication is backed by Elytron.
- Author:
- Pedro Igor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbareHttpClientRunner(String initialPath, Predicate<String> redirectVerifier) Common method for tests using theBareHttpClientimplementation.protected abstract UndertowServerprotected org.wildfly.security.auth.server.SecurityDomainprotected StringvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class org.wildfly.elytron.web.undertow.common.AbstractHttpServerMechanismTest
assertLoginPage, assertSuccessfulResponse, assertSuccessfulUnconstraintResponse, getHttpServerAuthenticationMechanismFactory, getSecurityDomain, installProvider, removeProvider
-
Field Details
-
server
-
-
Constructor Details
-
FormAuthenticationBase
- Throws:
Exception
-
-
Method Details
-
testRedirectLoginPage
- Throws:
Exception
-
testFormSuccessfulAuthentication
- Throws:
Exception
-
testSessionIdentityCache
- Throws:
Exception
-
testLogout
- Throws:
Exception
-
bareHttpClientRunner
public void bareHttpClientRunner(String initialPath, Predicate<String> redirectVerifier) throws Exception Common method for tests using theBareHttpClientimplementation.- Parameters:
initialPath-redirectVerifier-- Throws:
Exception
-
testDefaultURLBare
- Throws:
Exception
-
testEncodedQueryStringBare
- Throws:
Exception
-
testEncodedQueryStringPlusBare
- Throws:
Exception
-
testNonEncodedQueryStringPlusBare
- Throws:
Exception
-
testNonEncodedQueryStringBare
- Throws:
Exception
-
testEncodedPathBare
- Throws:
Exception
-
testNonEncodedPathBare
- Throws:
Exception
-
getMechanismName
- Specified by:
getMechanismNamein classAbstractHttpServerMechanismTest
-
doCreateSecurityDomain
- Specified by:
doCreateSecurityDomainin classAbstractHttpServerMechanismTest- Throws:
Exception
-
createUndertowServer
- Throws:
Exception
-