Return-Path: X-Original-To: apmail-oltu-dev-archive@www.apache.org Delivered-To: apmail-oltu-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7D9269582 for ; Thu, 16 May 2013 17:09:16 +0000 (UTC) Received: (qmail 75934 invoked by uid 500); 16 May 2013 17:09:16 -0000 Delivered-To: apmail-oltu-dev-archive@oltu.apache.org Received: (qmail 75872 invoked by uid 500); 16 May 2013 17:09:16 -0000 Mailing-List: contact dev-help@oltu.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@oltu.apache.org Delivered-To: mailing list dev@oltu.apache.org Received: (qmail 75795 invoked by uid 99); 16 May 2013 17:09:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 May 2013 17:09:16 +0000 Date: Thu, 16 May 2013 17:09:16 +0000 (UTC) From: =?utf-8?Q?Dominik_Sch=C3=BCrmann_=28JIRA=29?= To: dev@oltu.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (OLTU-107) ResourceHeaderEndpoint should use getUri() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Dominik Sch=C3=BCrmann created OLTU-107: -------------------------------------- Summary: ResourceHeaderEndpoint should use getUri() Key: OLTU-107 URL: https://issues.apache.org/jira/browse/OLTU-107 Project: Apache Oltu Issue Type: Bug Components: oauth2-integration-tests Affects Versions: 0.31 Environment: current svn trunk Reporter: Dominik Sch=C3=BCrmann Priority: Trivial Attachments: OLTU-107.patch Following Code uses getDescription instead of getUri: OAuthResponse oauthResponse =3D OAuthRSResponse .errorResponse(HttpServletResponse.SC_UNAUTHORIZED) .setRealm(Common.RESOURCE_SERVER_NAME) .setError(e.getError()) .setErrorDescription(e.getDescription()) .setErrorUri(e.getDescription()) .buildHeaderMessage(); See patch. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira