public final class LoggingPermission extends java.security.BasicPermission
| Constructor and Description |
|---|
LoggingPermission(java.lang.String name,
java.lang.String actions)
Creates a new LoggingPermission.
|
public LoggingPermission(java.lang.String name, java.lang.String actions)
name - the name of the permission, which must be "control".actions - the list of actions for the permission, which
must be either null or an empty
string.java.lang.IllegalArgumentException - if name
is not "control", or actions is
neither null nor empty.