HBASE-5371 Introduce AccessControllerProtocol.checkPermissions(Permission[] permissons) API, addendum (Enis)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1296709 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0132176084
commit
ee6f0fb231
|
@ -163,7 +163,7 @@ public class AccessController extends BaseRegionObserver
|
||||||
/**
|
/**
|
||||||
* Version number for AccessControllerProtocol
|
* Version number for AccessControllerProtocol
|
||||||
*/
|
*/
|
||||||
private static final long PROTOCOL_VERSION = 2L;
|
private static final long PROTOCOL_VERSION = 1L;
|
||||||
|
|
||||||
TableAuthManager authManager = null;
|
TableAuthManager authManager = null;
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,7 @@ import org.apache.hadoop.hbase.ipc.CoprocessorProtocol;
|
||||||
*/
|
*/
|
||||||
public interface AccessControllerProtocol extends CoprocessorProtocol {
|
public interface AccessControllerProtocol extends CoprocessorProtocol {
|
||||||
|
|
||||||
/* V2: Added {@link #checkPermissions(Permission...)}) */
|
public static final long VERSION = 1L;
|
||||||
public static final long VERSION = 2L;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Grants the given user or group the privilege to perform the given actions
|
* Grants the given user or group the privilege to perform the given actions
|
||||||
|
|
Loading…
Reference in New Issue