Re: [OAUTH-WG] VOTE: Token type response parameter

prateek mishra <prateek.mishra@oracle.com> Thu, 18 November 2010 14:32 UTC

Return-Path: <prateek.mishra@oracle.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 C507C3A680C for <oauth@core3.amsl.com>; Thu, 18 Nov 2010 06:32:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 5ce5g7ihnp20 for <oauth@core3.amsl.com>; Thu, 18 Nov 2010 06:32:11 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id C42703A6808 for <oauth@ietf.org>; Thu, 18 Nov 2010 06:32:11 -0800 (PST)
Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAIEWuQd004078 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 18 Nov 2010 14:32:58 GMT
Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oAIAecrU020215; Thu, 18 Nov 2010 14:32:55 GMT
Received: from abhmt008.oracle.com by acsmt354.oracle.com with ESMTP id 788999041290090714; Thu, 18 Nov 2010 06:31:54 -0800
Received: from [10.159.24.245] (/10.159.24.245) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 18 Nov 2010 06:31:53 -0800
Message-ID: <4CE538D8.3060001@oracle.com>
Date: Thu, 18 Nov 2010 09:31:52 -0500
From: prateek mishra <prateek.mishra@oracle.com>
Organization: Oracle Corporation
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
To: Eran Hammer-Lahav <eran@hueniverse.com>
References: <90C41DD21FB7C64BB94121FBBC2E72343D470CC778@P3PW5EX1MB01.EX1.SECURESERVER.NET>
In-Reply-To: <90C41DD21FB7C64BB94121FBBC2E72343D470CC778@P3PW5EX1MB01.EX1.SECURESERVER.NET>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: OAuth WG <oauth@ietf.org>
Subject: Re: [OAUTH-WG] VOTE: Token type response parameter
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, 18 Nov 2010 14:32:12 -0000

+1 on #3

from an enterprise perspective, we really dont want applications/clients 
to have embedded knowledge of the security model for any target resource.

As I understand this proposal, this would allow a security component at 
the client site/device to discover and create the right type of token 
(bearer/hok, SAML,/JSON) and then bind it appropriately to the resource 
request.

- prateek
> The new draft will include a new token_type response parameter. In my original proposal I suggested making this an optional response parameter with a default value of 'bearer' or 'plain' to keep existing -10 implementation compliant with -11.
>
> Options are:
>
> 1. Missing type response parameter means bearer token
> 2. Missing type response parameter means whatever the service default token type is
> 3. Servers must include an explicit token type with each response, where each token spec (bearer, signed, etc.) register their own type name
> 4. No token type. Type is determined by other attributes (such as secret and hash algorithm name).
>
> #1 and #3 are the most consistent with current design and best for interop. #1 requires no changes to -10 code, but leads to ugly spec organization (it links the bearer token spec with the framework spec).
>
> I'm strongly in favor of #3 as existing clients will ignore this and just assume bearer. Any server introducing a new token type will need to change clients anyway. Servers will need to be changed to add the new parameter but that's a trivial change (and -11 includes some normative changes already - all minor).
>
> So +1 on #3 for me.
>
> Please register your preference.
>
> EHL
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>
>