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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["`LoggingPermission` is a legacy security class and should not be used in new code."],["It extends `BasicPermission` and is used for controlling access to logging operations."],["The class has a public constructor that takes a name and a string of actions as parameters."],["It inherits methods from `BasicPermission`, `Permission`, and `Object` for managing permissions and object behavior."]]],["`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"]]