Name
LoggingPermission
Synopsis
This
class
is a java.security.Permission
that governs the use
of security-sensitive logging methods. The single defined name (or
target) for LoggingPermission
is
“control” which represents
permission to invoke various logging control methods such as
Logger.setLevel( )
and
LogManager.readConfiguration( )
. The methods in
this package that throw SecurityException
all
require a LoggingPermission
named
“control” in order to run.
Application programmers never need to use this class. System
adminstrators configuring security policies may need to be familiar
with it.
Figure 16-117. java.util.logging.LoggingPermission
public final class LoggingPermission extends java.security.BasicPermission { // Public Constructors public LoggingPermission(String name, String actions) throws IllegalArgumentException; }
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.