public class AddChannelBindingsHeaderHandlerTest
extends org.opensaml.core.OpenSAMLInitBaseTestCase
AddChannelBindingsHeaderHandler unit test.| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.saml.common.messaging.context.ChannelBindingsContext |
cbc |
private org.opensaml.saml.common.binding.impl.AddChannelBindingsHeaderHandler |
handler |
private org.opensaml.messaging.context.MessageContext<org.opensaml.saml.saml2.ecp.Response> |
messageCtx |
| Constructor and Description |
|---|
AddChannelBindingsHeaderHandlerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testMissingEnvelope()
Test that the handler errors on a missing SOAP context.
|
void |
testNoBindings()
Test that the handler does nothing on a missing CB context.
|
void |
testSuccess()
Test that the handler works.
|
private org.opensaml.messaging.context.MessageContext<org.opensaml.saml.saml2.ecp.Response> messageCtx
private org.opensaml.saml.common.binding.impl.AddChannelBindingsHeaderHandler handler
public void setUp()
throws ComponentInitializationException
ComponentInitializationExceptionpublic void testNoBindings()
throws org.opensaml.messaging.handler.MessageHandlerException
org.opensaml.messaging.handler.MessageHandlerExceptionpublic void testMissingEnvelope()
throws org.opensaml.messaging.handler.MessageHandlerException,
ComponentInitializationException
org.opensaml.messaging.handler.MessageHandlerExceptionComponentInitializationExceptionpublic void testSuccess()
throws org.opensaml.messaging.handler.MessageHandlerException,
ComponentInitializationException
org.opensaml.messaging.handler.MessageHandlerExceptionComponentInitializationExceptionCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.