[jboss-jira] [JBoss JIRA] (DROOLS-1764) Add method to create a thrusted and unthrusted XStream instance on XStreamUtils

Geoffrey De Smet (JIRA) issues at jboss.org
Mon Oct 16 04:20:00 EDT 2017


Geoffrey De Smet created DROOLS-1764:
----------------------------------------

             Summary: Add method to create a thrusted and unthrusted XStream instance on XStreamUtils
                 Key: DROOLS-1764
                 URL: https://issues.jboss.org/browse/DROOLS-1764
             Project: Drools
          Issue Type: Enhancement
          Components: core engine
            Reporter: Geoffrey De Smet
            Assignee: Geoffrey De Smet
            Priority: Critical


Each piece of code will need to figure out wether to use the thrusting or unthrusting xstream.

- thrusted: the xml is just like java code. It's basically executable.
- unthrusted: only whitelisted, select packages are allowed. There is no blacklist approach. Root packages are not being whitelisted.

Furthermore, *we want unthursted to allow all XStreamAliassed annotations automatically*, so it works like JAXB and Jackson.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list