Class LoggingPermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
java.util.logging.LoggingPermission
- All Implemented Interfaces:
- Serializable,- Guard
This class is for logging permissions. Currently there is only one
 LoggingPermission named "control".
- API Note:
- This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.
- Since:
- 1.4
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionLoggingPermission(String name, String actions) Creates a new LoggingPermission object.
- 
Method SummaryMethods declared in class java.security.BasicPermissionequals, getActions, hashCode, implies, newPermissionCollectionMethods declared in class java.security.PermissioncheckGuard, getName, toString
- 
Constructor Details- 
LoggingPermissionCreates a new LoggingPermission object.- Parameters:
- name- Permission name. Must be "control".
- actions- Must be either null or the empty string.
- Throws:
- NullPointerException- if- nameis- null.
- IllegalArgumentException- if- nameis empty or if arguments are invalid.
 
 
-