Re: [OAUTH-WG] SAML profile comments/questions from the SAML people

Chuck Mortimore <cmortimore@salesforce.com> Thu, 12 August 2010 17:18 UTC

Return-Path: <cmortimore@salesforce.com>
X-Original-To: oauth@core3.amsl.com
Delivered-To: oauth@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E69273A6999 for <oauth@core3.amsl.com>; Thu, 12 Aug 2010 10:18:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.348
X-Spam-Level:
X-Spam-Status: No, score=-4.348 tagged_above=-999 required=5 tests=[AWL=-1.750, BAYES_00=-2.599, HTML_MESSAGE=0.001]
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 0e7YRYRNFhFs for <oauth@core3.amsl.com>; Thu, 12 Aug 2010 10:18:34 -0700 (PDT)
Received: from exprod8og116.obsmtp.com (exprod8og116.obsmtp.com [64.18.3.32]) by core3.amsl.com (Postfix) with SMTP id 611A33A690D for <oauth@ietf.org>; Thu, 12 Aug 2010 10:18:34 -0700 (PDT)
Received: from source ([204.14.239.238]) by exprod8ob116.postini.com ([64.18.7.12]) with SMTP ID DSNKTGQtD+OF7CtSCNwXpIDrznhCZ4Cl1Ksa@postini.com; Thu, 12 Aug 2010 10:19:11 PDT
Received: from EXSFM-MB01.internal.salesforce.com ([10.1.127.45]) by exsfm-hub3.internal.salesforce.com ([10.1.127.7]) with mapi; Thu, 12 Aug 2010 10:19:10 -0700
From: Chuck Mortimore <cmortimore@salesforce.com>
To: Brian Campbell <bcampbell@pingidentity.com>, oauth <oauth@ietf.org>
Date: Thu, 12 Aug 2010 10:19:11 -0700
Thread-Topic: [OAUTH-WG] SAML profile comments/questions from the SAML people
Thread-Index: Acs34EfSO1Uu0ZP4Sk+do1om2oshBwCYjLTF
Message-ID: <C8897B1F.B75B%cmortimore@salesforce.com>
In-Reply-To: <AANLkTim7qdDm45N7D-7Zoo9Ew3g1ibQg7CWoUzX+ds61@mail.gmail.com>
Accept-Language: en-US
Content-Language: en
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_C8897B1FB75Bcmortimoresalesforcecom_"
MIME-Version: 1.0
Subject: Re: [OAUTH-WG] SAML profile comments/questions from the SAML people
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/oauth>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Aug 2010 17:18:36 -0000



On 8/9/10 9:30 AM, "Brian Campbell" <bcampbell@pingidentity.com> wrote:

I received some feedback on the SAML profile from a cross posting on
the OASIS SSTC (SAML) list.  Links to the thread topic index are
below[1], if you are interested, but I'll try and summarize the two
primary issues here.

First, concern was expressed that restricting the assertion to only
allow for a single <SubjectConfirmation> element was too limiting.
The restriction basically limits the ability of a single assertion to
be issued for use across multiple use-cases/profiles.   A good example
is the use-case that Prateek recently brought up in a different thread
on this list[2] where the assertion is delivered to an SP via Web SSO
and then that SP uses that same assertion to acquire an access token
for data services at a 3rd party site.    As currently written,
draft-campbell-oauth-saml-00[3], wouldn't allow for that use-case.
I'm starting to think that my attempt at simplification was is indeed
too restrictive.  Allowing for more than one <SubjectConfirmation>
will make the wording in the profile a bit more complicated (as well
as implementing validation) but I think, in the longer term, it's
probably the right thing to do from a spec perspective.  At this point
I'm planning on loosening that restriction in the next draft.  I'm
curious, however, if anyone has any strong opinions on it one way or
the other?

The second issue involves my assumption and requirement in the profile
that the subject of the assertion be the resource owner.  To me, it
seemed like a reasonable and useful constraint that was generally
inline with the spirit of the assertion flow, however, the comments
from Scott (editor of the core SAML specifications) suggest that it's
too constraining and/or inappropriate.  I'm honestly not sure where to
go with this one and am reaching out to this list for
ideas/suggestions/opinions.   I guess I see where he's coming from but
I'm kind of partial to the restriction/guidance as I have it.  Also,
I'm thinking that perhaps the counter example cases he describes would
be better captured by use of the "none" access grant type and a client
assertion (coming in draft -11, I think?).

I think it would be reasonable to loosen the language to reflect that the subject is who access will be granted to.   It may or may not be the resource owner, I agree.

-cmort


Thanks,
Brian C

[1] Discussion Thread on SSTC list
http://lists.oasis-open.org/archives/security-services/201008/threads.html#00000
http://lists.oasis-open.org/archives/security-services/201007/threads.html#00034

[2] Discussion Thread with use-case on OAuth list
http://www.ietf.org/mail-archive/web/oauth/current/msg04118.html

[3] draft-campbell-oauth-saml-00 / SAML 2.0 Bearer Assertion Profile
for OAuth 2.0
http://www.ietf.org/id/draft-campbell-oauth-saml-00.txt
_______________________________________________
OAuth mailing list
OAuth@ietf.org
https://www.ietf.org/mailman/listinfo/oauth