public class CheckMessageVersionHandlerTest
extends org.opensaml.core.OpenSAMLInitBaseTestCase
CheckMessageVersionHandler unit test.| Constructor and Description |
|---|
CheckMessageVersionHandlerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testBadMessageSilent() |
void |
testBadMessageThrows() |
void |
testNoMessageSilent() |
void |
testNoMessageThrows() |
void |
testSaml1Message()
Test that the handler accepts SAML 1.0 and 1.1 messages.
|
void |
testSaml1MessageFail()
Test that the handler errors out on SAML 1 messages.
|
void |
testSaml2Message()
Test that the handler accepts SAML 2.0 messages.
|
void |
testSaml2MessageFail()
Test that the handler errors out on SAML 2 messages.
|
public void testNoMessageThrows()
throws ComponentInitializationException,
org.opensaml.messaging.handler.MessageHandlerException
ComponentInitializationExceptionorg.opensaml.messaging.handler.MessageHandlerExceptionpublic void testNoMessageSilent()
throws ComponentInitializationException,
org.opensaml.messaging.handler.MessageHandlerException
ComponentInitializationExceptionorg.opensaml.messaging.handler.MessageHandlerExceptionpublic void testBadMessageThrows()
throws ComponentInitializationException,
org.opensaml.messaging.handler.MessageHandlerException
ComponentInitializationExceptionorg.opensaml.messaging.handler.MessageHandlerExceptionpublic void testBadMessageSilent()
throws ComponentInitializationException,
org.opensaml.messaging.handler.MessageHandlerException
ComponentInitializationExceptionorg.opensaml.messaging.handler.MessageHandlerExceptionpublic void testSaml1Message()
throws org.opensaml.messaging.handler.MessageHandlerException,
ComponentInitializationException
org.opensaml.messaging.handler.MessageHandlerExceptionComponentInitializationExceptionpublic void testSaml2MessageFail()
throws org.opensaml.messaging.handler.MessageHandlerException,
ComponentInitializationException
org.opensaml.messaging.handler.MessageHandlerExceptionComponentInitializationExceptionpublic void testSaml2Message()
throws org.opensaml.messaging.handler.MessageHandlerException,
ComponentInitializationException
org.opensaml.messaging.handler.MessageHandlerExceptionComponentInitializationExceptionpublic void testSaml1MessageFail()
throws org.opensaml.messaging.handler.MessageHandlerException,
ComponentInitializationException
org.opensaml.messaging.handler.MessageHandlerExceptionComponentInitializationExceptionCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.