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

Thomas Vandahl commented on JCS-229:
------------------------------------

Thank you for the patch. Would you please consider adding a test case for this 
bug?

> LateralTCPListener class uses always StandardSerializer
> -------------------------------------------------------
>
>                 Key: JCS-229
>                 URL: https://issues.apache.org/jira/browse/JCS-229
>             Project: Commons JCS
>          Issue Type: Bug
>          Components: TCP Lateral Cache
>    Affects Versions: jcs-3.1
>            Reporter: Dorota Oeknigk-Urbanska
>            Assignee: Thomas Vandahl
>            Priority: Major
>         Attachments: patch.diff
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Version jcs-3.1 introduced an option to use EncryptingSerializer instead of 
> StandardSerializer.
> However when EncryptingSerializer  is configured for LTCP by :
> jcs.auxiliary.LTCP.serializer=org.apache.commons.jcs3.utils.serialization.EncryptingSerializer
> synchronization does not work.
> LateralTCPSender supports custom Serializer  (by constructor which allowed 
> LateralTCPService to pass Serializer as parameter)- and it's properly sending 
> encripted messages. LateralTCPListener does not support custom Serializer and 
> uses always StandardSerializer - which in this case when received message is 
> encripted fails.
>  
>  
> Solution attached in patch.diff file.
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to