Class CheckMessageVersionHandlerTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.saml.common.binding.impl.CheckMessageVersionHandlerTest
-
public class CheckMessageVersionHandlerTest extends OpenSAMLInitBaseTestCase
CheckMessageVersionHandlerunit test.
-
-
Constructor Summary
Constructors Constructor Description CheckMessageVersionHandlerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestBadMessageSilent()voidtestBadMessageThrows()voidtestNoMessageSilent()voidtestNoMessageThrows()voidtestSaml1Message()Test that the handler accepts SAML 1.0 and 1.1 messages.voidtestSaml1MessageFail()Test that the handler errors out on SAML 1 messages.voidtestSaml2Message()Test that the handler accepts SAML 2.0 messages.voidtestSaml2MessageFail()Test that the handler errors out on SAML 2 messages.-
Methods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
-
-
-
Method Detail
-
testNoMessageThrows
public void testNoMessageThrows() throws ComponentInitializationException, MessageHandlerException
-
testNoMessageSilent
public void testNoMessageSilent() throws ComponentInitializationException, MessageHandlerException
-
testBadMessageThrows
public void testBadMessageThrows() throws ComponentInitializationException, MessageHandlerException
-
testBadMessageSilent
public void testBadMessageSilent() throws ComponentInitializationException, MessageHandlerException
-
testSaml1Message
public void testSaml1Message() throws MessageHandlerException, ComponentInitializationExceptionTest that the handler accepts SAML 1.0 and 1.1 messages.- Throws:
MessageHandlerException- ...ComponentInitializationException- ...
-
testSaml2MessageFail
public void testSaml2MessageFail() throws MessageHandlerException, ComponentInitializationExceptionTest that the handler errors out on SAML 2 messages.- Throws:
MessageHandlerException- ...ComponentInitializationException- ...
-
testSaml2Message
public void testSaml2Message() throws MessageHandlerException, ComponentInitializationExceptionTest that the handler accepts SAML 2.0 messages.- Throws:
MessageHandlerException- ...ComponentInitializationException- ...
-
testSaml1MessageFail
public void testSaml1MessageFail() throws MessageHandlerException, ComponentInitializationExceptionTest that the handler errors out on SAML 1 messages.- Throws:
MessageHandlerException- ...ComponentInitializationException- ...
-
-