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
ConstructorsConstructorDescriptionConstructs aFlightRecorderPermissionwith the specified name. -
Method Summary
Methods declared in class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollectionMethods declared in class java.security.Permission
checkGuard, getName, toString
-
Constructor Details
-
FlightRecorderPermission
Constructs aFlightRecorderPermissionwith the specified name.- Parameters:
name- the permission name, must be either"accessFlightRecorder"or"registerEvent", notnull- Throws:
IllegalArgumentException- ifnameis empty or not valid
-