public final class LoggingPermission extends BasicPermission
Currently there is only one named LoggingPermission. This is "control" and it grants the ability to control the logging configuration, for example by adding or removing Handlers, by adding or removing Filters, or by changing logging levels.
Programmers do not normally create LoggingPermission objects directly. Instead they are created by the security policy code based on reading the security policy file.
BasicPermission
,
Permission
,
Permissions
,
PermissionCollection
,
SecurityManager
,
Serialized FormConstructor and Description |
---|
LoggingPermission(String name,
String actions)
Creates a new LoggingPermission object.
|
equals, getActions, hashCode, implies, newPermissionCollection
checkGuard, getName, toString
public LoggingPermission(String name, String actions) throws IllegalArgumentException
NullPointerException
- if name
is null
.IllegalArgumentException
- if name
is empty or if
arguments are invalid.name
- Permission name. Must be "control".actions
- Must be either null or the empty string.aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.