Package org.kie.utll.xml
Class AnyAnnotationTypePermission
java.lang.Object
org.kie.utll.xml.AnyAnnotationTypePermission
- All Implemented Interfaces:
com.thoughtworks.xstream.security.TypePermission
public class AnyAnnotationTypePermission
extends Object
implements com.thoughtworks.xstream.security.TypePermission
Permission for any type which is annotated with an XStream annotation.
This presumes that because the class has an XStream annotation, it was designed with XStream in mind,
and therefore it is not vulnerable. Jackson and JAXB follow this philosophy too.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AnyAnnotationTypePermission
public AnyAnnotationTypePermission()
-
-
Method Details
-
allows
- Specified by:
allowsin interfacecom.thoughtworks.xstream.security.TypePermission
-