public class UnmarshallingSecurityTest extends XMLObjectBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
private BasicParserPool |
parserPoolDefaults |
private BasicParserPool |
parserPoolInsecure |
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory| Constructor and Description |
|---|
UnmarshallingSecurityTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
testUnmarshallingWithCDATAInElementContentDefaults()
Tests unmarshalling an element with CDATA in content with default parser.
|
void |
testUnmarshallingWithCDATAInElementContentInsecure()
Tests unmarshalling an element with CDATA in content with insecure parser.
|
void |
testUnmarshallingWithCommentBetweenChildElementsDefaults()
Tests unmarshalling an element with comment between child elements with default parser.
|
void |
testUnmarshallingWithCommentBetweenChildElementsInsecure()
Tests unmarshalling an element with comment between child elements with insecure parser.
|
void |
testUnmarshallingWithCommentInElementContentDefaults()
Tests unmarshalling an element with comment in content with default parser.
|
void |
testUnmarshallingWithCommentInElementContentInsecure()
Tests unmarshalling an element with comment in content with insecure parser.
|
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementinitOpenSAMLprivate BasicParserPool parserPoolDefaults
private BasicParserPool parserPoolInsecure
public void setup()
throws ComponentInitializationException
ComponentInitializationExceptionpublic void testUnmarshallingWithCommentInElementContentDefaults()
throws XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionpublic void testUnmarshallingWithCommentInElementContentInsecure()
throws XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionpublic void testUnmarshallingWithCDATAInElementContentDefaults()
throws XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionpublic void testUnmarshallingWithCDATAInElementContentInsecure()
throws XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionpublic void testUnmarshallingWithCommentBetweenChildElementsDefaults()
throws XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
XMLParserExceptionorg.opensaml.core.xml.io.MarshallingExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionpublic void testUnmarshallingWithCommentBetweenChildElementsInsecure()
throws XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
XMLParserExceptionorg.opensaml.core.xml.io.MarshallingExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.