public final class
LoggingPermission
extends BasicPermission
LoggingPermission
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[null,null,["Last updated 2024-07-10 UTC."],[],["`LoggingPermission`, a legacy security class, extends `BasicPermission`. It can be constructed using a name and actions, throwing an `IllegalArgumentException`. Inherited methods allow for managing permission checks, retrieving actions and names, and comparing permissions, it also has methods for object management like cloning, equality checks, and hash code generation. The checkGuard method determines access to guarded objects. The getActions method is available in `BasicPermission` and `Permission` classes. `LoggingPermission` should not be used in new code.\n"],null,[]]