cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-6686] Minor update to the json provider
Date Fri, 15 Jan 2016 16:24:14 GMT
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 <sberyozkin@gmail.com>
Authored: Fri Jan 15 16:21:43 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
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<Object>,
             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();


Mime
View raw message