Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B78F918E93 for ; Fri, 15 Jan 2016 16:24:14 +0000 (UTC) Received: (qmail 49737 invoked by uid 500); 15 Jan 2016 16:24:14 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 49674 invoked by uid 500); 15 Jan 2016 16:24:14 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 49665 invoked by uid 99); 15 Jan 2016 16:24:14 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jan 2016 16:24:14 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 37038E042F; Fri, 15 Jan 2016 16:24:14 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sergeyb@apache.org To: commits@cxf.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: cxf git commit: [CXF-6686] Minor update to the json provider Date: Fri, 15 Jan 2016 16:24:14 +0000 (UTC) Repository: cxf Updated Branches: refs/heads/3.1.x-fixes f33aebb65 -> f10bfbdb5 [CXF-6686] Minor update to the json provider Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/f10bfbdb Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/f10bfbdb Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/f10bfbdb Branch: refs/heads/3.1.x-fixes Commit: f10bfbdb56a0d24ea4f712a48eec24812c71c718 Parents: f33aebb Author: Sergey Beryozkin Authored: Fri Jan 15 16:21:43 2016 +0000 Committer: Sergey Beryozkin Committed: Fri Jan 15 16:24:02 2016 +0000 ---------------------------------------------------------------------- .../apache/cxf/rs/security/oauth2/provider/OAuthJSONProvider.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/f10bfbdb/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/OAuthJSONProvider.java ---------------------------------------------------------------------- diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/OAuthJSONProvider.java b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/OAuthJSONProvider.java index 46db726..b84f9ff 100644 --- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/OAuthJSONProvider.java +++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/OAuthJSONProvider.java @@ -94,7 +94,9 @@ public class OAuthJSONProvider implements MessageBodyWriter, sb.append(","); appendJsonPair(sb, "aud", obj.getAud()); } + sb.append(","); appendJsonPair(sb, "iat", obj.getIat(), false); + sb.append(","); appendJsonPair(sb, "exp", obj.getExp(), false); sb.append("}"); String result = sb.toString();