Class FlightRecorderPermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
jdk.jfr.FlightRecorderPermission
- All Implemented Interfaces:
Serializable
,Guard
Permission for controlling access to Flight Recorder.
- API Note:
- This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.
- Since:
- 9
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs aFlightRecorderPermission
with the specified name. -
Method Summary
Methods declared in class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollection
Methods declared in class java.security.Permission
checkGuard, getName, toString
-
Constructor Details
-
FlightRecorderPermission
Constructs aFlightRecorderPermission
with the specified name.- Parameters:
name
- the permission name, must be either"accessFlightRecorder"
or"registerEvent"
, notnull
- Throws:
IllegalArgumentException
- ifname
is empty or not valid
-