Class HTTPRedirectDeflateEncoderTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.saml.saml2.binding.encoding.impl.HTTPRedirectDeflateEncoderTest
-
public class HTTPRedirectDeflateEncoderTest extends XMLObjectBaseTestCase
Unit test for redirect encoding.
-
-
Field Summary
-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description HTTPRedirectDeflateEncoderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidOSJ271()Tests encoding a SAML message to an servlet response with simple sign, where the destination URL had existing non-disallowed query parameters.voidtestResponseEncoding()Tests encoding a SAML message to an servlet response.voidtestResponseEncodingWithDisallowedEndpointQueryParams()Tests encoding a SAML message to an servlet response.voidtestResponseEncodingWithEndpointQueryParams()Tests encoding a SAML message to an servlet response.voidtestResponseEncodingWithSimpleSign()Tests encoding a SAML message to an servlet response with simple sign.-
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
-
-
-
-
Method Detail
-
testResponseEncoding
public void testResponseEncoding() throws ExceptionTests encoding a SAML message to an servlet response.- Throws:
Exception- if something goes wrong
-
testResponseEncodingWithEndpointQueryParams
public void testResponseEncodingWithEndpointQueryParams() throws ExceptionTests encoding a SAML message to an servlet response.- Throws:
Exception- if something goes wrong
-
testResponseEncodingWithDisallowedEndpointQueryParams
public void testResponseEncodingWithDisallowedEndpointQueryParams() throws ExceptionTests encoding a SAML message to an servlet response.- Throws:
Exception- if something goes wrong
-
testResponseEncodingWithSimpleSign
public void testResponseEncodingWithSimpleSign() throws ExceptionTests encoding a SAML message to an servlet response with simple sign.- Throws:
Exception- if something goes wrong
-
-