Name
Serializable Permissions
Type
java.io.SerializablePermission
Names
enableSubstitution
and
enableSubclassImplementation
. The first of these
permissions allows the enableResolveObject( )
method of the ObjectInputStream
and the
enableReplaceObject( )
method of the
ObjectOutputStream
classes to function. The
latter permission allows the ObjectInputStream
and ObjectOutputStream
classes to be subclassed,
which would potentially override the readObject( )
and writeObject( )
methods.
Actions
None.
Get Java Security, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.