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."],[[["\u003cp\u003e\u003ccode\u003eLoggingPermission\u003c/code\u003e is a legacy security class and should not be used in new code.\u003c/p\u003e\n"],["\u003cp\u003eIt extends \u003ccode\u003eBasicPermission\u003c/code\u003e and is used for controlling access to logging operations.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a public constructor that takes a name and a string of actions as parameters.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits methods from \u003ccode\u003eBasicPermission\u003c/code\u003e, \u003ccode\u003ePermission\u003c/code\u003e, and \u003ccode\u003eObject\u003c/code\u003e for managing permissions and object behavior.\u003c/p\u003e\n"]]],["`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,[]]