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 SummaryConstructorsConstructorDescriptionConstructs aFlightRecorderPermissionwith the specified name.
- 
Method SummaryMethods declared in class java.security.BasicPermissionequals, getActions, hashCode, implies, newPermissionCollectionMethods declared in class java.security.PermissioncheckGuard, getName, toString
- 
Constructor Details- 
FlightRecorderPermissionConstructs aFlightRecorderPermissionwith the specified name.- Parameters:
- name- the permission name, must be either- "accessFlightRecorder"or- "registerEvent", not- null
- Throws:
- IllegalArgumentException- if- nameis empty or not valid
 
 
-