Class ExtractChannelBindingsExtensionsHandlerTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.saml.saml2.binding.security.impl.ExtractChannelBindingsExtensionsHandlerTest
-
public class ExtractChannelBindingsExtensionsHandlerTest extends OpenSAMLInitBaseTestCase
ExtractChannelBindingsExtensionsHandlerunit test.
-
-
Field Summary
Fields Modifier and Type Field Description private ExtractChannelBindingsExtensionsHandlerhandlerprivate MessageContextmessageCtx
-
Constructor Summary
Constructors Constructor Description ExtractChannelBindingsExtensionsHandlerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestMissingMessage()Test that the handler returns nothing on a missing message.voidtestNoExtensions()Test that the handler does nothing when no extensions exist.voidtestSuccess()Test that the handler works.voidtestUnsigned()Test that the handler ignores unsigned bindings.-
Methods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
-
-
-
Field Detail
-
messageCtx
private MessageContext messageCtx
-
handler
private ExtractChannelBindingsExtensionsHandler handler
-
-
Method Detail
-
setUp
@BeforeMethod public void setUp() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testMissingMessage
public void testMissingMessage() throws MessageHandlerExceptionTest that the handler returns nothing on a missing message.- Throws:
MessageHandlerException- ...
-
testNoExtensions
public void testNoExtensions() throws MessageHandlerExceptionTest that the handler does nothing when no extensions exist.- Throws:
MessageHandlerException- ...
-
testUnsigned
public void testUnsigned() throws MessageHandlerExceptionTest that the handler ignores unsigned bindings.- Throws:
MessageHandlerException- ...
-
testSuccess
public void testSuccess() throws MessageHandlerExceptionTest that the handler works.- Throws:
MessageHandlerException- ...
-
-