Class ExtractTOTPFromHeaderTest
java.lang.Object
org.opensaml.core.testing.OpenSAMLInitBaseTestCase
net.shibboleth.idp.plugin.authn.totp.impl.BaseAuthenticationContextTest
net.shibboleth.idp.plugin.authn.totp.impl.ExtractTOTPFromHeaderTest
ExtractTOTPFromHeader unit test.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate net.shibboleth.idp.plugin.authn.totp.impl.ExtractTOTPFromHeaderFields inherited from class net.shibboleth.idp.plugin.authn.totp.impl.BaseAuthenticationContextTest
authenticationFlows, prc, src -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.shibboleth.idp.plugin.authn.totp.impl.BaseAuthenticationContextTest
getMockHttpServletRequest, initializeMembersMethods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
Field Details
-
action
private net.shibboleth.idp.plugin.authn.totp.impl.ExtractTOTPFromHeader action
-
-
Constructor Details
-
ExtractTOTPFromHeaderTest
public ExtractTOTPFromHeaderTest()
-
-
Method Details
-
setUp
- Overrides:
setUpin classBaseAuthenticationContextTest- Throws:
ComponentInitializationException
-
testNoServlet
- Throws:
ComponentInitializationException
-
testNoUsername
- Throws:
ComponentInitializationException
-
testMissingHeader
public void testMissingHeader() -
testWrongHeader
public void testWrongHeader() -
testInvalidFormat
public void testInvalidFormat() -
testValid
public void testValid()
-