public class UnmarshallingSecurityTest extends XMLObjectBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
private net.shibboleth.utilities.java.support.xml.BasicParserPool |
parserPoolDefaults |
private net.shibboleth.utilities.java.support.xml.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 net.shibboleth.utilities.java.support.xml.BasicParserPool parserPoolDefaults
private net.shibboleth.utilities.java.support.xml.BasicParserPool parserPoolInsecure
public void setup()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
net.shibboleth.utilities.java.support.component.ComponentInitializationExceptionpublic void testUnmarshallingWithCommentInElementContentDefaults()
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionpublic void testUnmarshallingWithCommentInElementContentInsecure()
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionpublic void testUnmarshallingWithCDATAInElementContentDefaults()
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionpublic void testUnmarshallingWithCDATAInElementContentInsecure()
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionpublic void testUnmarshallingWithCommentBetweenChildElementsDefaults()
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.MarshallingExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionpublic void testUnmarshallingWithCommentBetweenChildElementsInsecure()
throws net.shibboleth.utilities.java.support.xml.XMLParserException,
org.opensaml.core.xml.io.UnmarshallingException
net.shibboleth.utilities.java.support.xml.XMLParserExceptionorg.opensaml.core.xml.io.MarshallingExceptionorg.opensaml.core.xml.io.UnmarshallingExceptionCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.