public class AddGeneratedKeyHeaderHandlerTest
extends org.opensaml.core.OpenSAMLInitBaseTestCase
AddGeneratedKeyHeaderHandler unit test.| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.saml.saml2.binding.impl.AddGeneratedKeyHeaderHandler |
handler |
private org.opensaml.messaging.context.MessageContext |
messageCtx |
| Constructor and Description |
|---|
AddGeneratedKeyHeaderHandlerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testMissingEnvelope()
Test that the handler errors on a missing SOAP context.
|
void |
testSuccess()
Test that the handler works.
|
void |
testUnauthenticated()
Test that the handler does nothing on a missing context.
|
private org.opensaml.messaging.context.MessageContext messageCtx
private org.opensaml.saml.saml2.binding.impl.AddGeneratedKeyHeaderHandler handler
public void setUp()
throws ComponentInitializationException
ComponentInitializationExceptionpublic void testUnauthenticated()
throws org.opensaml.messaging.handler.MessageHandlerException
org.opensaml.messaging.handler.MessageHandlerExceptionpublic void testMissingEnvelope()
throws org.opensaml.messaging.handler.MessageHandlerException,
NoSuchAlgorithmException
NoSuchAlgorithmExceptionorg.opensaml.messaging.handler.MessageHandlerExceptionpublic void testSuccess()
throws org.opensaml.messaging.handler.MessageHandlerException,
NoSuchAlgorithmException
NoSuchAlgorithmExceptionorg.opensaml.messaging.handler.MessageHandlerExceptionCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.