Class SAMLOutboundProtocolMessageSigningHandlerTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.saml.common.binding.security.impl.SAMLOutboundProtocolMessageSigningHandlerTest
-
public class SAMLOutboundProtocolMessageSigningHandlerTest extends XMLObjectBaseTestCase
Tests forSAMLOutboundProtocolMessageSigningHandler.
-
-
Field Summary
Fields Modifier and Type Field Description private SAMLOutboundProtocolMessageSigningHandlerhandlerprivate MessageContextmessageContext-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description SAMLOutboundProtocolMessageSigningHandlerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestSAML2ErrorResponse()voidtestSAML2Response()-
Methods inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
assertXMLEquals, assertXMLEquals, buildXMLObject, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElement
-
Methods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
-
-
-
Field Detail
-
messageContext
private MessageContext messageContext
-
handler
private SAMLOutboundProtocolMessageSigningHandler handler
-
-
Method Detail
-
setUp
@BeforeMethod public void setUp() throws NoSuchAlgorithmException, NoSuchProviderException, ComponentInitializationException
-
testSAML2Response
public void testSAML2Response() throws MessageHandlerException- Throws:
MessageHandlerException
-
testSAML2ErrorResponse
public void testSAML2ErrorResponse() throws MessageHandlerException- Throws:
MessageHandlerException
-
-