Class BasicAuthenticationBase
java.lang.Object
org.wildfly.elytron.web.undertow.common.AbstractHttpServerMechanismTest
org.wildfly.elytron.web.undertow.common.BasicAuthenticationBase
Test case to test HTTP BASIC authentication where authentication is backed by Elytron.
- Author:
- Darran Lofthouse
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract UndertowServerprotected org.wildfly.security.auth.server.SecurityDomainprotected StringvoidvoidvoidvoidvoidvoidMethods inherited from class org.wildfly.elytron.web.undertow.common.AbstractHttpServerMechanismTest
assertLoginPage, assertSuccessfulResponse, assertSuccessfulUnconstraintResponse, getHttpServerAuthenticationMechanismFactory, getSecurityDomain, installProvider, removeProvider
-
Field Details
-
server
-
-
Constructor Details
-
BasicAuthenticationBase
- Throws:
Exception
-
-
Method Details
-
testUnauthorized
- Throws:
Exception
-
testSuccessfulAuthentication
- Throws:
Exception
-
testFailedAuthentication
- Throws:
Exception
-
testUnconstrainedAccessWithCorrectPassword
- Throws:
Exception
-
testUnconstrainedAccessWithIncorrectPassword
- Throws:
Exception
-
testUnconstrainedAccessWithoutPassword
- Throws:
Exception
-
getMechanismName
- Specified by:
getMechanismNamein classAbstractHttpServerMechanismTest
-
doCreateSecurityDomain
- Specified by:
doCreateSecurityDomainin classAbstractHttpServerMechanismTest- Throws:
Exception
-
createUndertowServer
- Throws:
Exception
-