Deprecated
for removal since 25.
This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.
java.security.BasicPermission , java.security.Permission , java.security.Permissions , java.security.PermissionCollection
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | SerializablePermission(String
the name of the SerializablePermission. name)Creates a new SerializablePermission with the specified name. |
| public | SerializablePermission(String
the name of the SerializablePermission. name, String currently unused and must be set to null actions)Creates a new SerializablePermission object with the specified name. |
| actions | back to summary |
|---|---|
| private String actions | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| SerializablePermission | back to summary |
|---|---|
| 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.
| |
| SerializablePermission | back to summary |
|---|---|
| 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.
| |