Deprecated
for removal since 25.
This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.
SecurityPermission
contains a name (also referred to as a "target name") but no actions list;
you either have the named permission or you don't.
The target name is the name of a security configuration parameter.
java.security.BasicPermission , java.security.Permission , java.security.Permissions , java.security.PermissionCollection , java.lang.SecurityManager
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | SecurityPermission(String
the name of the name)SecurityPermissionCreates a new |
| public | SecurityPermission(String
the name of the name, String SecurityPermissionshould be actions)null.Creates a new |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| SecurityPermission | back to summary |
|---|---|
| public SecurityPermission(String name) Creates a new
| |
| SecurityPermission | back to summary |
|---|---|
| public SecurityPermission(String name, String actions) Creates a new
| |