Deprecated
for removal since 25.
This class was only useful in conjunction with the Security Manager, which is no longer supported. There is no replacement for this class.
JDIPermission object contains a name (also referred
to as a "target name") but no actions list; you either have the
named permission or you don't.
API Note
This permission cannot be used for controlling access to resources as the Security Manager is no longer supported. Consequently this class is deprecated for removal in a future release.
Bootstrap, 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 | JDIPermission(String
Permission name. Must be "virtualMachineManager". name)The |
| public | JDIPermission(String
Permission name. Must be "virtualMachineManager". name, String Must be either null or the empty string. actions)Constructs a new JDIPermission object. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| JDIPermission | back to summary |
|---|---|
| public JDIPermission(String name) The
| |
| JDIPermission | back to summary |
|---|---|
| public JDIPermission(String name, String actions) throws IllegalArgumentException Constructs a new JDIPermission object.
| |