Class AddRequestAuthenticatedHeaderHandlerTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.saml.saml2.binding.impl.AddRequestAuthenticatedHeaderHandlerTest
-
public class AddRequestAuthenticatedHeaderHandlerTest extends OpenSAMLInitBaseTestCase
AddRequestAuthenticatedHeaderHandlerunit test.
-
-
Constructor Summary
Constructors Constructor Description AddRequestAuthenticatedHeaderHandlerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestMissingEnvelope()Test that the handler errors on a missing SOAP context.voidtestSuccess()Test that the handler works.voidtestUnauthenticated()Test that the handler does nothing on a missing context.-
Methods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
-
-
-
Method Detail
-
testUnauthenticated
public void testUnauthenticated() throws MessageHandlerException, ComponentInitializationExceptionTest that the handler does nothing on a missing context.- Throws:
MessageHandlerException- ...ComponentInitializationException- ...
-
testMissingEnvelope
public void testMissingEnvelope() throws MessageHandlerException, ComponentInitializationExceptionTest that the handler errors on a missing SOAP context.- Throws:
MessageHandlerException- ...ComponentInitializationException- ...
-
testSuccess
public void testSuccess() throws MessageHandlerException, ComponentInitializationExceptionTest that the handler works.- Throws:
MessageHandlerException- ...ComponentInitializationException- ...
-
-