Richard Zowalla created OPENJPA-3085:
----------------------------------------

             Summary: TCPRemoteCommitProvider: only deserialize the types that 
remote commit events contain
                 Key: OPENJPA-3085
                 URL: https://issues.apache.org/jira/browse/OPENJPA-3085
             Project: OpenJPA
          Issue Type: Improvement
            Reporter: Richard Zowalla
            Assignee: Richard Zowalla
             Fix For: 4.3.0


The TCP remote commit provider reads the messages of its peers with the class 
resolver of openjpa.Serialization, which by default rejects a list of known 
classes. A message only contains the sender address and a RemoteCommitEvent 
with its ids and type names, so the receiver can accept exactly these types 
(and the id classes of the persistent types) with a java.io.ObjectInputFilter 
and reject everything else, independent of the configured class lists.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to