Return-Path: X-Original-To: apmail-incubator-amber-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-amber-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E79D278B9 for ; Wed, 12 Oct 2011 14:45:36 +0000 (UTC) Received: (qmail 17890 invoked by uid 500); 12 Oct 2011 14:45:36 -0000 Delivered-To: apmail-incubator-amber-dev-archive@incubator.apache.org Received: (qmail 17532 invoked by uid 500); 12 Oct 2011 14:45:35 -0000 Mailing-List: contact amber-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: amber-dev@incubator.apache.org Delivered-To: mailing list amber-dev@incubator.apache.org Received: (qmail 17242 invoked by uid 99); 12 Oct 2011 14:45:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2011 14:45:35 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2011 14:45:33 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 151C230457A for ; Wed, 12 Oct 2011 14:45:12 +0000 (UTC) Date: Wed, 12 Oct 2011 14:45:12 +0000 (UTC) From: "Antonio Sanso (Created) (JIRA)" To: amber-dev@incubator.apache.org Message-ID: <391344342.5292.1318430712087.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (AMBER-33) Grant types need to be updated to latest spec MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Grant types need to be updated to latest spec --------------------------------------------- Key: AMBER-33 URL: https://issues.apache.org/jira/browse/AMBER-33 Project: Amber Issue Type: Bug Components: OAuth 2.0 - Authorization Server Reporter: Antonio Sanso Grant types need to be updated according to latest spec[0]. Current ones as for [1] are : public enum GrantType { AUTHORIZATION_CODE("authorization_code"), PASSWORD("password"), ASSERTION("assertion"), REFRESH_TOKEN("refresh_token"), NONE("none"); ..... } "asssertion" do not exists anymore, "refresh_token" is now "token" and "client_credentials" needs to be added. All the validators need to be updated accordingly. patch to follow. [0] http://tools.ietf.org/html/draft-ietf-oauth-v2-22 [1] https://github.com/apache/amber/blob/trunk/oauth-2.0/oauth2-common/src/main/java/org/apache/amber/oauth2/common/message/types/GrantType.java -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira