Added reference to CatchAllConverter
Added reference to CatchAllConverter in both javadoc and reference docs. Issue: SPR-10821
This commit is contained in:
@@ -80,8 +80,9 @@ import org.springframework.util.xml.StaxUtils;
|
||||
* {@code XStreamMarshaller} to unmarshal XML from external sources</b> (i.e. the Web),
|
||||
* as this can result in <b>security vulnerabilities</b>. If you do use the
|
||||
* {@code XStreamMarshaller} to unmarshal external XML, set the
|
||||
* {@link #setConverters(ConverterMatcher[]) converters} and
|
||||
* {@link #setSupportedClasses(Class[]) supportedClasses} properties or override the
|
||||
* {@link #setSupportedClasses(Class[]) supportedClasses} and
|
||||
* {@link #setConverters(ConverterMatcher[]) converters} properties (possibly using a
|
||||
* {@link CatchAllConverter} as the last converter in the list) or override the
|
||||
* {@link #customizeXStream(XStream)} method to make sure it only accepts the classes
|
||||
* you want it to support.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user