@Deprecated
  public static void revoke(RpcController controller,
    AccessControlService.BlockingInterface protocol, String userShortName, TableName tableName,
    byte[] f, byte[] q, Permission.Action... actions) throws ServiceException {
    List<AccessControlProtos.Permission.Action> permActions =
      Lists.newArrayListWithCapacity(actions.length);
    for (Permission.Action a : actions) {
      permActions.add(toPermissionAction(a));
    }
    AccessControlProtos.RevokeRequest request = buildRevokeRequest(userShortName, tableName, f, q,
      permActions.toArray(new AccessControlProtos.Permission.Action[actions.length]));
    protocol.revoke(controller, request);
  }
A utility used to revoke a user's table permissions. The permissions will be for a table/column
family/qualifier.
<p>
It's also called by the shell, in case you want to find references.
@param controller    RpcController
@param protocol      the AccessControlService protocol proxy
@param userShortName the short name of the user to revoke permissions
@param tableName     optional table name
@param f             optional column family
@param q             optional qualifier
@param actions       the permissions to be revoked
@throws ServiceException on failure
@deprecated Use {@link Admin#revoke(UserPermission)} instead.
hbase-client/src/main/java/org/apache/hadoop/hbase/security/access/AccessControlUtil.java