[XCON] AD review: draft-ietf-xcon-ccmp-11 - AUTO_GENERATE_X behavior
Mary Barnes <mary.ietf.barnes@gmail.com> Mon, 14 February 2011 18:24 UTC
Return-Path: <mary.ietf.barnes@gmail.com>
X-Original-To: xcon@core3.amsl.com
Delivered-To: xcon@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D834C3A6D4D for <xcon@core3.amsl.com>; Mon, 14 Feb 2011 10:24:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.598
X-Spam-Level:
X-Spam-Status: No, score=-103.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1doAO14rRDcP for <xcon@core3.amsl.com>; Mon, 14 Feb 2011 10:24:45 -0800 (PST)
Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.213.172]) by core3.amsl.com (Postfix) with ESMTP id 634EA3A6AB3 for <xcon@ietf.org>; Mon, 14 Feb 2011 10:24:45 -0800 (PST)
Received: by yxt33 with SMTP id 33so2456090yxt.31 for <xcon@ietf.org>; Mon, 14 Feb 2011 10:25:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to:cc :content-type; bh=Win8s3Xn5WQ6wLESxTOXX6JeQCUazurWfePRBQG5xM8=; b=M4H1pPGROSwubPlk5i2ayFDf+Tf9g7XNT6NiYc8n2VOvp8L6hGxeqtT/tjw8CzSQ9B m8grg7bGA5giGlX5kMZM5Ox/n6Pfc3dogjBtFpYYJ5vQgBZ7uOIh84VKtE2mnFthMCC5 PuxOoliXwS5KoyD16gF8qdGz2qisgHChqTXZk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=m/j+hPrnK18yiAVSLkRQbZJRtNHlvrT2laKBNOWuWMObSJbi+59hQkBOlTIxKAoAxJ pzbuiTEzAA6dXPa2GxuYnP4b0EtODTzNo+ozh6rEyBJfLc7pZ7RAarpiKt1b9vn3RUP6 gcZj6AhjF8umPVPtffghMKM3zR/jc6vx+1bOE=
MIME-Version: 1.0
Received: by 10.236.103.180 with SMTP id f40mr1904970yhg.0.1297707906988; Mon, 14 Feb 2011 10:25:06 -0800 (PST)
Received: by 10.236.95.35 with HTTP; Mon, 14 Feb 2011 10:25:06 -0800 (PST)
Date: Mon, 14 Feb 2011 12:25:06 -0600
Message-ID: <AANLkTikz+5dFSjPuQPobcBf8bhzosUWmA8xYJ5p262xk@mail.gmail.com>
From: Mary Barnes <mary.ietf.barnes@gmail.com>
To: Robert Sparks <rjsparks@nostrum.com>
Content-Type: multipart/alternative; boundary="0023543a2748d1877b049c422a0f"
Cc: xcon@ietf.org
Subject: [XCON] AD review: draft-ietf-xcon-ccmp-11 - AUTO_GENERATE_X behavior
X-BeenThere: xcon@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Centralized Conferencing <xcon.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/xcon>, <mailto:xcon-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/xcon>
List-Post: <mailto:xcon@ietf.org>
List-Help: <mailto:xcon-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xcon>, <mailto:xcon-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Feb 2011 18:24:47 -0000
Hi folks, Per the discussion threads: http://www.ietf.org/mail-archive/web/xcon/current/msg02492.html http://www.ietf.org/mail-archive/web/xcon/current/msg02493.html I propose to make the following changes with regards to the normative behavior for AUTO_GENERATE_X, as currently described in the last paragraph in section 4.1. I'll also make some editorial changes to the text in section 4 to more accurately describe what is in section 4.1 and 4.2. OLD: To solve this kind of issues, the CCMP fill all mandatory data model fields, for which no value is available at the client at the time the request is constructed, with fake values in the form of wildcard strings (e.g. AUTO_GENERATE_X, with X being an incremental index initialized to a value of 1). Upon reception of the mentioned kinds of requests, the server will: (i) generate the proper identifier(s); (ii) produce a response in which the received fake identifier(s) carried in the request has (have) been replaced by the newly created one(s). With this approach we maintain compatibility with the data model requirements, at the same time allowing for client-initiated manipulation of conference objects at the server's side (which is, by the way, one of the main goals for which the CCMP protocol has been conceived at the outset). NEW: To solve this issue, the CCMP client fills all mandatory data model fields, for which no value is available at the time the request is constructed, with fake values in the form of a wildcard string, AUTO_GENERATE_X (all uppercase), with X being a unique numeric index for each data model field for which the value is unknown. This form of wildcard string is chosen, rather than the use of random unique strings (e.g, FOO_BAR_LA) or non-numeric values for X, to simplify processing at the server. The values of AUTO_GENERATE_X are only unique within the context of the specific request. The fake AUTO_GENERATE_X values MUST be within the value part of an attribute/element (e.g., <userinfo entity= "xcon-userid:AUTO_GENERATE_1@example.com">). When the server receives requests containing values in the form of AUTO_GENERATE_X, the server does the following: (i) Generates the proper identifier for each instance of AUTO_GENERATE_X in the document. If an instance of AUTO_GENERATE_X is not within the value part of the attribute/element, the server MUST respond with an error of 400 Bad Request. In cases where AUTO_GENERATE_X appears only in the user part of a URI (i.e., in the case of XCON-USERIDs or XCON-URIs), the server needs to ensure that the domain name is one that is within the server's domain of responsibility. If the domain name is NOT within the server's domain of responsibility, then the server MUST return a 500 Server Internal Error. The server MUST replace each instance of a specific wildcard field (e.g., AUTO_GENERATE_1) with the same identifier. The identifiers MUST be unique for each instance of AUTO_GENERATE_X within the same XML document received in the request - e.g., the value that replaces AUTO_GENERATE_1 MUST NOT be the same as the value that replaces AUTO_GENERATE_2. Note that the values that replace the instances of AUTO_GENERATE_X are not the same across all conference objects - e.g., different values can be used to replace AUTO_GENERATE_1 in two different documents. (ii) Sends a response in which all values of AUTO_GENERATE_X received in the request has (have) been replaced by the newly created one(s). With this approach compatibility with the data model requirements is maintained, while allowing for client-initiated manipulation of conference objects at the server's side which is one of the main goals of the CCMP protocol. Please let me know ASAP if this is not okay. Thanks, Mary. > >
- [XCON] AD review: draft-ietf-xcon-ccmp-11 - AUTO_… Mary Barnes
- Re: [XCON] AD review: draft-ietf-xcon-ccmp-11 - A… Simon Pietro Romano
- Re: [XCON] AD review: draft-ietf-xcon-ccmp-11 - A… Robert Sparks