java.lang.Object
org.elasticsearch.entitlement.runtime.policy.PolicyCheckerImpl
All Implemented Interfaces:
PolicyChecker

public class PolicyCheckerImpl extends Object implements PolicyChecker
Connects the PolicyChecker interface to a PolicyManager to perform the checks in accordance with the policy. Determines the caller class, queries PolicyManager to find what entitlements have been granted to that class, and finally checks whether the desired entitlements are present.