Package org.elasticsearch.entitlement.runtime.policy
package org.elasticsearch.entitlement.runtime.policy
-
ClassDescriptionThis annotation indicates an
Entitlementis available to "external" classes such as those used in plugins.This structure facilitates looking up files entitlements for a particular component+module combination, given that grants can occur at the directory level in addition to the individual file level.Resolves paths for known directories checked by entitlements.Standard manager for resolving known paths.A holder for scoped entitlements.Contains one "check" method for each distinct kind of check we do (as opposed toEntitlementChecker, which has a method for each distinct >method we instrument).Connects thePolicyCheckerinterface to aPolicyManagerto perform the checks in accordance with the policy.Determines, from the specified policy information, which entitlements are granted to a given caller class, as well as whether certain caller classes (like those built into the JDK) should be trivially allowed, meaning they are always entitled regardless of policy.A parser to parse policy files for entitlements.An exception specifically for policy parsing errors.This exception is used to track validation errors thrown during the construction of entitlements.A holder for entitlements within a single scope.A Policy and associated versions to which the policy applies