public final class

SerializablePermission

extends BasicPermission
java.lang.Object
   ↳ java.security.Permission
     ↳ java.security.BasicPermission
       ↳ java.io.SerializablePermission

Class Overview

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.

Summary

Public Constructors
SerializablePermission(String permissionName)
Constructs a new SerializablePermission with the specified name.
SerializablePermission(String name, String actions)
Constructs a new SerializablePermission with the specified name.
[Expand]
Inherited Methods
From class java.security.BasicPermission
From class java.security.Permission
From class java.lang.Object
From interface java.security.Guard

Public Constructors

public SerializablePermission (String permissionName)

Since: API Level 1

Constructs a new SerializablePermission with the specified name.

Parameters
permissionName the name of the new permission.

public SerializablePermission (String name, String actions)

Since: API Level 1

Constructs a new SerializablePermission with the specified name. The action list is ignored.

Parameters
name the name of the new permission.
actions ignored.