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 81749D6F3 for ; Thu, 18 Oct 2012 12:26:19 +0000 (UTC) Received: (qmail 72721 invoked by uid 500); 18 Oct 2012 12:26:17 -0000 Delivered-To: apmail-incubator-amber-dev-archive@incubator.apache.org Received: (qmail 72279 invoked by uid 500); 18 Oct 2012 12:26:15 -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 71084 invoked by uid 99); 18 Oct 2012 12:26:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2012 12:26:05 +0000 Date: Thu, 18 Oct 2012 12:26:05 +0000 (UTC) From: "Stein Welberg (JIRA)" To: amber-dev@incubator.apache.org Message-ID: <1704221553.63688.1350563165261.JavaMail.jiratomcat@arcas> In-Reply-To: <2100346324.63687.1350563165169.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (AMBER-62) Add Extra fields to OAuthProblemException for easier spec compliant error handling MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBER-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stein Welberg updated AMBER-62: ------------------------------- Attachment: add-response-params-to-oauth-exception.patch > Add Extra fields to OAuthProblemException for easier spec compliant error handling > ---------------------------------------------------------------------------------- > > Key: AMBER-62 > URL: https://issues.apache.org/jira/browse/AMBER-62 > Project: Amber > Issue Type: Improvement > Reporter: Stein Welberg > Priority: Minor > Attachments: add-response-params-to-oauth-exception.patch > > > In order to handle spec correct errors the response status code may vary in different cases. (e.g. 401 when client authentication fails). Adding this field to the OAuthProblemException class helps in creating the correct error response. > I also created a patch for this. See the attachment. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira