All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.io.SerializablePermission

java.lang.Object
    |
    +----java.security.Permission
            |
            +----java.security.BasicPermission
                    |
                    +----java.io.SerializablePermission

public final class SerializablePermission
extends BasicPermission
This class is for Serializable permissions. As with all BasicPermission subclasses, a SerializablePermission contains a name but no actions list; you either have the named permission or you don't.

The name is the name of the Serializable permission ("enableSubstitution")

See Also:
BasicPermission, Permission, Permissions, PermissionCollection, SecurityManager

Constructor Index

 o SerializablePermission(String)
Creates a new SerializablePermission with the specified name.
 o SerializablePermission(String, String)
Creates a new SerializablePermission object with the specified name.

Constructors

 o SerializablePermission
public SerializablePermission(String name)
Creates a new SerializablePermission with the specified name. The name is the symbolic name of the SerializablePermission, such as "enableSubstitution", etc.

Parameters:
name - the name of the SerializablePermission.
 o SerializablePermission
public SerializablePermission(String name,
                              String actions)
Creates a new SerializablePermission object with the specified name. The name is the symbolic name of the SerializablePermission, and the actions String is currently unused and should be null. This constructor exists for use by the Policy object to instantiate new Permission objects.

Parameters:
name - the name of the SerializablePermission.

All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature