You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "star (Jira)" <ji...@apache.org> on 2020/06/29 08:52:00 UTC

[jira] [Created] (RANGER-2882) Make a abstraction for RangerBasePlugin#isAccessAllowed to allow extension of remote policy evaluation

star created RANGER-2882:
----------------------------

             Summary: Make a abstraction for RangerBasePlugin#isAccessAllowed to allow extension of remote policy evaluation
                 Key: RANGER-2882
                 URL: https://issues.apache.org/jira/browse/RANGER-2882
             Project: Ranger
          Issue Type: Bug
          Components: plugins
            Reporter: star


{code:java}
public interface RangerAuthClient {
  RangerAccessResult evaluatePolicies(RangerAccessRequest request, int policyType, RangerAccessResultProcessor resultProcessor);
}

//default auth client, local mode
public class RangerLocalAuthClient implements RangerAuthClient;  

//auth client by http protocol
public class RangerHttpAuthClient implements RangerAuthClient;{code}
As it consumes large memory with millions policies, we'd like to evaluate policies through http or tcp protocol in hive.  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)