[scim] Is it possible to use primitive types with SCIM addresses claim?

Sathya Bandara <sathya@wso2.com> Wed, 18 April 2018 13:08 UTC

Return-Path: <sathya@wso2.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 398771275F4 for <scim@ietfa.amsl.com>; Wed, 18 Apr 2018 06:08:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.144
X-Spam-Level:
X-Spam-Status: No, score=-1.144 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_20=1.546, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=wso2.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 7zstrbdg6wch for <scim@ietfa.amsl.com>; Wed, 18 Apr 2018 06:08:43 -0700 (PDT)
Received: from mail-oi0-x22d.google.com (mail-oi0-x22d.google.com [IPv6:2607:f8b0:4003:c06::22d]) (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 B66831267BB for <scim@ietf.org>; Wed, 18 Apr 2018 06:08:43 -0700 (PDT)
Received: by mail-oi0-x22d.google.com with SMTP id 188-v6so1494466oih.8 for <scim@ietf.org>; Wed, 18 Apr 2018 06:08:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wso2.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=mQS8guQl620SM96/aMDxXKbWq8kJHDQVzhtwpCUeXFU=; b=baHseQDtaZ/S0DJ83xNZe6cdZd+xAS4dZqcsfrRv92S0urit9Y06UVj3Pr42sxbRrj lWatWDoJwcVDmg3ncJ41KxfVMQHiDVO0hvVRDeN8JoyguxXtlLq5wV00bTRq+ib2BQy7 3f1iAZpmJNt0YgCohyeTSLeADiU9yICpL0qI0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=mQS8guQl620SM96/aMDxXKbWq8kJHDQVzhtwpCUeXFU=; b=mHFF+6SLrEgmkGfDc/+5TP1Wh3v3w5UX8RYoH5Q5flB3lvGn+ts/9D3XYGIoiLEdoq QcBFUIi10sxc1d9zTW2cpTWYu5OO+4AU5gkPvkf4JpST6lTolUYBbb3JFLNslIXr0jBr 3nPEGC8RTeC5yTK8jG+Gk2lW4Gr7uv9ce4BSMmPxb52XpVeGOQrMxA8VgIe6UYQfhA6k 4gQwuz8zcugKtJnHvGbV8VnEYnPseUpopBeeXDyEBsgAJpAgVijo4S6xgf8nbgGbYWB8 biUFMvj6Q/+WFcy1PywXmDoiAfVSSf6ytyLuCHEK6pqkc/t9NdHT+/aYDJhcvG5ukpym I7Vw==
X-Gm-Message-State: ALQs6tCKaX6H1BPlma9h+uCZMlBC6N2qgQtflsXH+PyPfYbkO1d2w04K qCCmmrkpxGBthCca9ji5fdq6dyMWesSUrjXm0ieNp7Y2
X-Google-Smtp-Source: AB8JxZqIwp6s9dG0lcR+1nFChKVQN1Pizxx8O2cS+y9y+GmMI1UOv0WvIBaDGSOA75R+940CUAKddw/q11NgpMd07yI=
X-Received: by 2002:aca:3946:: with SMTP id g67-v6mr1033093oia.292.1524056922759; Wed, 18 Apr 2018 06:08:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.74.117.91 with HTTP; Wed, 18 Apr 2018 06:08:41 -0700 (PDT)
From: Sathya Bandara <sathya@wso2.com>
Date: Wed, 18 Apr 2018 18:38:41 +0530
Message-ID: <CAAdTB9Ey5xGfb=xcn19=NTdtJg_Td_z3qXjUfg=F28F93BY7BQ@mail.gmail.com>
To: scim@ietf.org
Content-Type: multipart/alternative; boundary="0000000000007fc9c5056a1f2720"
Archived-At: <https://mailarchive.ietf.org/arch/msg/scim/BJKOUWJndIOgyKDWaA4Xta8_-rU>
Subject: [scim] Is it possible to use primitive types with SCIM addresses claim?
X-BeenThere: scim@ietf.org
X-Mailman-Version: 2.1.22
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: Wed, 18 Apr 2018 13:08:50 -0000

Hi,

As per the SCIM core schema specification [1], addresses claim definition
is as follows.

addresses
>       A physical mailing address for this user.  Canonical type values
>       of "work", "home", and "other".  This attribute is a complex type
>       with the following sub-attributes.  All sub-attributes are
>       OPTIONAL.
>
> In a scenario where all the sub-attributes can be empty as per above
definition, can we use primitive attribute types (string values) as the
claim-values for this claim. E.g. -  *addresses: ["address1", "address2"]*

Would be grateful if you could clarify whether this is possible.

[1] https://tools.ietf.org/html/rfc7643#section-4.1.2

Best regards,
Sathya

-- 
Sathya Bandara
Software Engineer
WSO2 Inc. http://wso2.com
Mobile: (+94) 715 360 421 <+94%2071%20411%205032>

<+94%2071%20411%205032>