[ 
https://issues.apache.org/jira/browse/CAMEL-6040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13572402#comment-13572402
 ] 

Willem Jiang commented on CAMEL-6040:
-------------------------------------

Hi Aki,

The patch looks good. I just have a small question about the 
cipherTransformation setting, what if the user doesn't set any thing on the 
cipherTransformation. I'm not sure what will be 
Cipher.getInstance(transformation)  return when transformation is null. 
Can we just set up a default value for the cipherTransformation?
                
> Add an option to encrypt tmp files generated by Camel's CachedOutputStream
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-6040
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6040
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.10.3
>            Reporter: Aki Yoshida
>            Assignee: Willem Jiang
>         Attachments: trunk-camel-core-20130205.diff
>
>
> Under stream caching, data may be stored in a temporary file depending on the 
> size of the data. For some scenarios, it is desirable to protect the content 
> of the file from unauthorized access. 
> I would like to propose for adding a simple encryption option in Camel's 
> CachedOutputStream so that it can encrypt the cached content using an 
> internally generated key and only the associated cache object can read the 
> data from the file.
> This is analogue to CXF-4596.
> Please look at the attached code and I would appreciate your comments.
> Regards, Aki

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to