cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject git commit: [CXF-6053] Fixing the sigature entry serialization bug when an unprotected header is available, patch from Daniel Torkian applied
Date Thu, 30 Oct 2014 16:31:16 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 2833a5834 -> 89e879510


[CXF-6053] Fixing the sigature entry serialization bug when an unprotected header is available,
patch from Daniel Torkian applied


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/89e87951
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/89e87951
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/89e87951

Branch: refs/heads/master
Commit: 89e8795109432283b6ec9952b52b91d453c014f8
Parents: 2833a58
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Thu Oct 30 16:30:57 2014 +0000
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Thu Oct 30 16:30:57 2014 +0000

----------------------------------------------------------------------
 .../org/apache/cxf/rs/security/jose/jws/JwsJsonSignatureEntry.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/89e87951/rt/rs/security/jose/src/main/java/org/apache/cxf/rs/security/jose/jws/JwsJsonSignatureEntry.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/jose/src/main/java/org/apache/cxf/rs/security/jose/jws/JwsJsonSignatureEntry.java
b/rt/rs/security/jose/src/main/java/org/apache/cxf/rs/security/jose/jws/JwsJsonSignatureEntry.java
index a430575..278aa93 100644
--- a/rt/rs/security/jose/src/main/java/org/apache/cxf/rs/security/jose/jws/JwsJsonSignatureEntry.java
+++ b/rt/rs/security/jose/src/main/java/org/apache/cxf/rs/security/jose/jws/JwsJsonSignatureEntry.java
@@ -121,7 +121,7 @@ public class JwsJsonSignatureEntry {
             if (protectedHeader != null) {
                 sb.append(",");
             }
-            sb.append("\"header\":\"" + unprotectedHeader.toJson() + "\"");
+            sb.append("\"header\":\"" + unprotectedHeader.toJson());
         }
         sb.append(",");
         sb.append("\"signature\":\"" + encodedSignature + "\"");


Mime
View raw message