public class ImportCockpitUtilsTest extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
QA_EMPTY_MAPPING_XML |
static String |
QA_XXE_EMPTY_MAPPING_XML |
| Constructor and Description |
|---|
ImportCockpitUtilsTest() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
readFromFile(String url) |
void |
readFromNonVulnerableFile() |
void |
readFromXXEVulnerableFile() |
public static final String QA_EMPTY_MAPPING_XML
public static final String QA_XXE_EMPTY_MAPPING_XML
public void readFromNonVulnerableFile()
throws JAXBException,
XMLStreamException
JAXBExceptionXMLStreamExceptionpublic void readFromXXEVulnerableFile()
throws JAXBException,
XMLStreamException
JAXBExceptionXMLStreamExceptionprotected <T> T readFromFile(String url) throws JAXBException, XMLStreamException
JAXBExceptionXMLStreamExceptionCopyright © 2017 SAP SE. All Rights Reserved.