XXE prevention 46/132846/5
authormpriyank <priyank.maheshwari@est.tech>
Tue, 3 Jan 2023 14:17:36 +0000 (14:17 +0000)
committermpriyank <priyank.maheshwari@est.tech>
Wed, 4 Jan 2023 13:28:20 +0000 (13:28 +0000)
commitd4fd02f79d1fa110d2008dbadcb7d1f065f0ff86
treeeffb0a325e11fc0397a7b778bf8ded8d619ff46e
parent90a28b672b94d0b3effb1b800bca1621d1529c6d
XXE prevention

- xml external entity prevention in the XmlFileUtils
- setting the features only once for the document builder factory

Issue-ID: CPS-1435
Change-Id: I06f9ac4bcdb0a90262f237489c6c50d8fde33c0d
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
cps-service/src/main/java/org/onap/cps/utils/XmlFileUtils.java