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)

Reply via email to