hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1296709 - in /hbase/trunk/security/src/main/java/org/apache/hadoop/hbase/security/access: AccessController.java AccessControllerProtocol.java
Date Sat, 03 Mar 2012 21:48:54 GMT
Author: tedyu
Date: Sat Mar  3 21:48:53 2012
New Revision: 1296709

URL: http://svn.apache.org/viewvc?rev=1296709&view=rev
Log:
HBASE-5371 Introduce AccessControllerProtocol.checkPermissions(Permission[] permissons) API,
addendum (Enis)

Modified:
    hbase/trunk/security/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java
    hbase/trunk/security/src/main/java/org/apache/hadoop/hbase/security/access/AccessControllerProtocol.java

Modified: hbase/trunk/security/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java
URL: http://svn.apache.org/viewvc/hbase/trunk/security/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java?rev=1296709&r1=1296708&r2=1296709&view=diff
==============================================================================
--- hbase/trunk/security/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java
(original)
+++ hbase/trunk/security/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java
Sat Mar  3 21:48:53 2012
@@ -163,7 +163,7 @@ public class AccessController extends Ba
   /**
    * Version number for AccessControllerProtocol
    */
-  private static final long PROTOCOL_VERSION = 2L;
+  private static final long PROTOCOL_VERSION = 1L;
 
   TableAuthManager authManager = null;
 

Modified: hbase/trunk/security/src/main/java/org/apache/hadoop/hbase/security/access/AccessControllerProtocol.java
URL: http://svn.apache.org/viewvc/hbase/trunk/security/src/main/java/org/apache/hadoop/hbase/security/access/AccessControllerProtocol.java?rev=1296709&r1=1296708&r2=1296709&view=diff
==============================================================================
--- hbase/trunk/security/src/main/java/org/apache/hadoop/hbase/security/access/AccessControllerProtocol.java
(original)
+++ hbase/trunk/security/src/main/java/org/apache/hadoop/hbase/security/access/AccessControllerProtocol.java
Sat Mar  3 21:48:53 2012
@@ -28,8 +28,7 @@ import org.apache.hadoop.hbase.ipc.Copro
  */
 public interface AccessControllerProtocol extends CoprocessorProtocol {
 
-  /* V2: Added {@link #checkPermissions(Permission...)}) */
-  public static final long VERSION = 2L;
+  public static final long VERSION = 1L;
 
   /**
    * Grants the given user or group the privilege to perform the given actions



Mime
View raw message