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.
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.
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 | ManagementPermission(String
Permission name. Must be either "monitor" or "control". name)Constructs a ManagementPermission with the specified name. |
| public | ManagementPermission(String
Permission name. Must be either "monitor" or "control". name, String Must be either null or the empty string. actions)Constructs a new ManagementPermission object. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ManagementPermission | back to summary |
|---|---|
| public ManagementPermission(String name) Constructs a ManagementPermission with the specified name.
| |
| ManagementPermission | back to summary |
|---|---|
| public ManagementPermission(String name, String actions) throws IllegalArgumentException Constructs a new ManagementPermission object.
| |