public final class

SerializablePermission

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

类概述

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.

摘要

公有构造方法
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 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.