[ 
https://issues.apache.org/jira/browse/CAMEL-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Akitoshi Yoshida updated CAMEL-9297:
------------------------------------
    Attachment: 0001-CAMEL-9297-Expose-more-configuration-options-from-Ca.patch

The updated patch based on the discussion.
Now we have:
- a string based property permissions to specify the XStream's type permissions 
and this property can be configured per component and at the system level.
- the default permissions setting forbids everything except for some basic 
types such as java.lang.* and java.utils.*. This default permissions setting 
can be overridden by setting System property 
org.apache.camel.stream.permissions.
- a per-instance permissions setting can be set using the permissions property 
of the data format instance in Java or the xstream bean. The per-instance 
permissions setting can replace or extend the default permissions setting 
depending on how it is set.
- the syntax of the permissions property is as discussed earlier.

I will commit this patch shortly unless there is some issue raised.
regards, aki

> Expose more configuration options from Camel's XStream component
> ----------------------------------------------------------------
>
>                 Key: CAMEL-9297
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9297
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-xstream
>    Affects Versions: 2.16.0, 2.15.4
>            Reporter: Akitoshi Yoshida
>            Assignee: Akitoshi Yoshida
>         Attachments: 
> 0001-CAMEL-9297-Expose-more-configuration-options-from-Ca.patch, 
> 0001-CAMEL-9297-Expose-more-configuration-options-from-Ca.patch
>
>
> Currently, some of the configuration options of XStream are only configurable 
> over the XStream API. This means, the user must instantiate an instance of 
> XStream and configure that instance and assign it to Camel's XStream 
> component to configure these options.
> This patch will add a more convenient way to set these additional options 
> directly over Camel's XStream component.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to