public final class

LoggingPermission

extends BasicPermission
implements Serializable Guard
java.lang.Object
   ↳ java.security.Permission
     ↳ java.security.BasicPermission
       ↳ java.util.logging.LoggingPermission

Class Overview

The permission required to control the logging when run with a SecurityManager.

Summary

Public Constructors
LoggingPermission(String name, String actions)
Constructs a LoggingPermission object required to control the logging.
[Expand]
Inherited Methods
From class java.security.BasicPermission
From class java.security.Permission
From class java.lang.Object
From interface java.security.Guard

Public Constructors

public LoggingPermission (String name, String actions)

Since: API Level 1

Constructs a LoggingPermission object required to control the logging. The SecurityManager checks the permissions.

LoggingPermission objects are created by the security policy code and depends on the security policy file, therefore programmers shouldn't normally use them directly.

Parameters
name currently must be "control".
actions currently must be either null or the empty string.
Throws
IllegalArgumentException if name null or different from string control.