Using spring-ws with JAXB as our stack for SOAP-webservices I want to secure them against "Oversized Xml"-attacks
. In CXF I know there is the possibility to defend against most of these attacks using the following properties:
org.apache.cxf.stax.maxChildElements
org.apache.cxf.stax.maxElementDepth
org.apache.cxf.stax.maxAttributeCount
org.apache.cxf.stax.maxAttributeSize
org.apache.cxf.stax.maxTextLength
org.apache.cxf.stax.maxElementCount
However I have not found anything equal in the spring-stack. Is there a way to mitigate this kind of attacks?