public final class SerializablePermission extends BasicPermission
Is used to enable access to potentially unsafe serialization operations. It
does have a name but no action list. The following table lists valid
permission names:
enableSubclassImplementation
Subclasses can override serialization behavior.
enableSubstitution
Object substitution is allowed.
see
ObjectStreamConstants
since
Android 1.0
Fields Summary
private static final long
serialVersionUID
private String
actions
Constructors Summary
public SerializablePermission(String permissionName)
Constructs a new {@code SerializablePermission} with the specified name.
param
permissionName
the name of the new permission.
since
Android 1.0
super(permissionName);
public SerializablePermission(String name, String actions)
Constructs a new {@code SerializablePermission} with the specified name.
The action list is ignored.