public class ODObjectInputStream
extends java.io.ObjectInputStream
Class overriding the default ObjectInputStream. There is a security issue with java serialization
where external commands can be invoked unintentially. The issue can occur if when you deserialize
an object stream you can't guarantee the source of that stream. It isn't enough to secure the client
end because then you are simply trusting the client. The best solution appears to be overriding
ObjectInputStream and the readObject method. Inside of your implementation of this method you can
then check the name of the object being deserialized and if not what you expect, throw an exception.
(c) Copyright IBM Corp. 1993, 2016. All Rights Reserved
Nested Class Summary
Nested classes/interfaces inherited from class java.io.ObjectInputStream
java.io.ObjectInputStream.GetField
Field Summary
Fields inherited from interface java.io.ObjectStreamConstants