public class ExtractChannelBindingsExtensionsHandlerTest
extends org.opensaml.core.OpenSAMLInitBaseTestCase
ExtractChannelBindingsExtensionsHandler unit test.| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.saml.saml2.binding.security.impl.ExtractChannelBindingsExtensionsHandler |
handler |
private org.opensaml.messaging.context.MessageContext |
messageCtx |
| Constructor and Description |
|---|
ExtractChannelBindingsExtensionsHandlerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testMissingMessage()
Test that the handler returns nothing on a missing message.
|
void |
testNoExtensions()
Test that the handler does nothing when no extensions exist.
|
void |
testSuccess()
Test that the handler works.
|
void |
testUnsigned()
Test that the handler ignores unsigned bindings.
|
private org.opensaml.messaging.context.MessageContext messageCtx
private org.opensaml.saml.saml2.binding.security.impl.ExtractChannelBindingsExtensionsHandler handler
public ExtractChannelBindingsExtensionsHandlerTest()
public void setUp()
throws ComponentInitializationException
ComponentInitializationExceptionpublic void testMissingMessage()
throws org.opensaml.messaging.handler.MessageHandlerException
org.opensaml.messaging.handler.MessageHandlerExceptionpublic void testNoExtensions()
throws org.opensaml.messaging.handler.MessageHandlerException
org.opensaml.messaging.handler.MessageHandlerExceptionpublic void testUnsigned()
throws org.opensaml.messaging.handler.MessageHandlerException
org.opensaml.messaging.handler.MessageHandlerExceptionpublic void testSuccess()
throws org.opensaml.messaging.handler.MessageHandlerException
org.opensaml.messaging.handler.MessageHandlerExceptionCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.