Package org.wildfly.common.xml
Class TransformerFactoryUtil
- java.lang.Object
-
- org.wildfly.common.xml.TransformerFactoryUtil
-
public final class TransformerFactoryUtil extends Object
Factory providesTransformerFactorywith secure defaults set. Properties not supported generate a warning, but the factory process creation will continue and return a result. Settings based on recommendations of Sonarcloud RSPEC-2755 and OWASP XML External Entity Prevention Cheatsheet.XMLConstants.FEATURE_SECURE_PROCESSINGis set to true.XMLConstants.ACCESS_EXTERNAL_DTDis set to empty.XMLConstants.ACCESS_EXTERNAL_STYLESHEETis set to empty.
- Since:
- 1.6.0.Final
- Author:
- Boris Unckel
-
-
Method Detail
-
create
@NotNull public static TransformerFactory create()
-
-