Re: [scim] Common Attribute "schemas" Characteristics

Phillip Hunt <phil.hunt@independentid.com> Fri, 13 March 2020 17:10 UTC

Return-Path: <phil.hunt@independentid.com>
X-Original-To: scim@ietfa.amsl.com
Delivered-To: scim@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 353F43A0D35 for <scim@ietfa.amsl.com>; Fri, 13 Mar 2020 10:10:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.895
X-Spam-Level:
X-Spam-Status: No, score=-1.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=independentid-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KjKDoUPZKCSY for <scim@ietfa.amsl.com>; Fri, 13 Mar 2020 10:10:08 -0700 (PDT)
Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7CA673A0F20 for <scim@ietf.org>; Fri, 13 Mar 2020 10:10:03 -0700 (PDT)
Received: by mail-pl1-x62d.google.com with SMTP id g2so2044546plo.3 for <scim@ietf.org>; Fri, 13 Mar 2020 10:10:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=independentid-com.20150623.gappssmtp.com; s=20150623; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=UtERYICu8uzhypDKY0gjy8w5OrQa+FEvDKuBraahatE=; b=b/jZ4fE0+bvtit3mtgbKzJIbB0yRs8fYkkSkzv+EZTalFz61yj8GMmA+0enwcWFrUY LvPQrAbj0nLJEPFeDTJ0BT0Q3Vhl1ERoQGE669jIyl6o14bWH93Wp7EZVZ8W0U2k6MSp Hf+4pSZtsUSsafN1neYCB9lGLIB5l+KsP/qzwWvZtl78g0d9n8jl2GyOjQMxzEsA4BAx Vv8ccIeqqWL60KCDbNZbyWnt3K1Y8Tpp59O7PACzyEY/Uu3q2piquLT1MkF4IJ/S+7bv X82MTlHhKdGchnosCqDfh9/pQKvrL/3qOIIfgwfZLxCA/xF6L48AmRxwcWxMJPuAAP1X 8RtA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=UtERYICu8uzhypDKY0gjy8w5OrQa+FEvDKuBraahatE=; b=W5w31/c3Pq7WCmU2K6TH0wQP9O8MQ0NWASG/EWtGGArHR+VhxWrooZL4gfu9m30U57 aX5Oui7G7K+GpiNxiC0eDVMuEt/ea/5jUNHGqEEJRh5V1FfVbeG1Loc2hd3/OFWhp5/k erCxoGad47pcobVE/OkPdBbFMv68YtNApRHpahWna7R/NlghHh60XmcUwcI+aVhQSuEH dUiGfMSBKaRbRpFmSoJ9+eGGBKlSyvPnkS9RugMNfRNox8AtxhQsUm/G7IAtJwPFDQgl F5Q8j4CdbhYd5tw5N39NjqtgaSCXNoiwWOL1e+KKCe8BAPUbuEKl5fSsgO7zeWDqAtfe /NMg==
X-Gm-Message-State: ANhLgQ0Ge+3OzwrNGHbaLPxA1VY1XB09CmiYE8z9+ItyBx8K5V/e8OA0 Es+GmMDQdhzTHlMjHa9p6LvAkqeBxpyXYw==
X-Google-Smtp-Source: ADFU+vtL1vmaaUxnJ462vDY8lDO+irMvuyh2kZxuqDw09NAvLVFQGbVe5EitwsNcSi4PU7+aGqRU+g==
X-Received: by 2002:a17:90a:c301:: with SMTP id g1mr10743101pjt.173.1584119402409; Fri, 13 Mar 2020 10:10:02 -0700 (PDT)
Received: from ?IPv6:2001:569:7a71:1d00:2462:8c2f:9c84:faea? (node-1w7jr9qrfoxx82t2v4x3ldqzu.ipv6.telus.net. [2001:569:7a71:1d00:2462:8c2f:9c84:faea]) by smtp.gmail.com with ESMTPSA id d206sm245744pfd.160.2020.03.13.10.10.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 13 Mar 2020 10:10:02 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail-CD877E00-0EAF-4EC9-887A-0371B1C194F4"
Content-Transfer-Encoding: 7bit
From: Phillip Hunt <phil.hunt@independentid.com>
Mime-Version: 1.0 (1.0)
Date: Fri, 13 Mar 2020 10:10:01 -0700
Message-Id: <0BD1BB04-7957-441C-AB72-C4FACA2C9668@independentid.com>
References: <CAGUsYPweU9TvLHHYEoZ+Djwp1wQiTWYh4nb+ePXXJJwrBMLWEQ@mail.gmail.com>
Cc: scim@ietf.org
In-Reply-To: <CAGUsYPweU9TvLHHYEoZ+Djwp1wQiTWYh4nb+ePXXJJwrBMLWEQ@mail.gmail.com>
To: Shelley <randomshelley@gmail.com>
X-Mailer: iPhone Mail (17C54)
Archived-At: <https://mailarchive.ietf.org/arch/msg/scim/LbOP8jSVZV0X97cNMhdUC0AJ5_0>
Subject: Re: [scim] Common Attribute "schemas" Characteristics
X-BeenThere: scim@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Simple Cloud Identity Management BOF <scim.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/scim>, <mailto:scim-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/scim/>
List-Post: <mailto:scim@ietf.org>
List-Help: <mailto:scim-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/scim>, <mailto:scim-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Mar 2020 17:10:11 -0000

Shelley

In practical/pragmatic terms...case insensitive. 

I treat as case insensitive since it is unlikely and unwise if two separate schemas only differentiated by case. 

I would also expect iana process to reject “overlapping” registrations differentiated only by case. 

Phil

> On Mar 13, 2020, at 9:16 AM, Shelley <randomshelley@gmail.com> wrote:
> 
> 
> What are the characteristics for the "schemas" [1] attribute?
> 
> Here is my attempt at defining these characteristics using the Schema definitions:
> "type" is "reference"
> "referenceTypes" is ["uri"]
> "required" is "true"
> "multiValued" is "true"
> "uniqueness" is "none"
> "caseExact" as "true" (since this is a "reference" type)
> "mutability" of "immutable" (although none of the mutability values seems like a perfect fit)
> "returned" characteristic of "default"
> Although "schemas" and the "Common Attributes" don't define their own schemas, it would be nice to have all of these attributes' characteristics clearly defined in the spec using the Schema definition to help provide a clear/common definition, particularly, since these characteristics are not intended to be modified/defined by SPs..
> 
> In particular, in my SCIM implementation, I have been considering whether to evaluate "schemas" in resource representations case-sensitively (exact case as defined in the ResourceType), case-insensitively (any case allowed), or using lexical equivalence (e.g. for URNs, case-insensitive schema and NID, case-sensitive NSS, and some components ignored). The RFC doesn't seem to clearly prescribe this, but based on the fact that the implied type is "reference" which (debatably [2]) has "caseExact" as "true" and the fact that the attribute "MUST only contain values defined as "schema" and "schemaExtensions"", I'm under the assumption that this attribute is case-sensitive.
> 
> Please confirm. Thanks!
> 
> [1] https://tools.ietf.org/html/rfc7643#section-3
> [2] https://mailarchive.ietf.org/arch/msg/scim/05_K_y-V26EOfN2F7fuSO3DXoLw/
> _______________________________________________
> scim mailing list
> scim@ietf.org
> https://www.ietf.org/mailman/listinfo/scim