Uploaded image for project: 'Commons JCS'
  1. Commons JCS
  2. JCS-229

LateralTCPListener class uses always StandardSerializer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • jcs-3.1
    • jcs-3.2
    • TCP Lateral Cache
    • None

    Description

      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.

       

      Attachments

        1. patch.diff
          8 kB
          Dorota Oeknigk-Urbanska

        Issue Links

          Activity

            People

              tv Thomas Vandahl
              dorkau Dorota Oeknigk-Urbanska
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified