You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2014/06/19 18:37:43 UTC

git commit: Minor update to jwe encryptor

Repository: cxf
Updated Branches:
  refs/heads/master 9d1b5e3a6 -> a980e2ff8


Minor update to jwe encryptor


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

Branch: refs/heads/master
Commit: a980e2ff878f4d8d0d79cd4efc9f918f0102ef88
Parents: 9d1b5e3
Author: Sergey Beryozkin <sb...@talend.com>
Authored: Thu Jun 19 17:36:58 2014 +0100
Committer: Sergey Beryozkin <sb...@talend.com>
Committed: Thu Jun 19 17:36:58 2014 +0100

----------------------------------------------------------------------
 .../org/apache/cxf/rs/security/oauth2/jwe/AbstractJweEncryptor.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/a980e2ff/rt/rs/security/oauth-parent/oauth2-jwt/src/main/java/org/apache/cxf/rs/security/oauth2/jwe/AbstractJweEncryptor.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2-jwt/src/main/java/org/apache/cxf/rs/security/oauth2/jwe/AbstractJweEncryptor.java b/rt/rs/security/oauth-parent/oauth2-jwt/src/main/java/org/apache/cxf/rs/security/oauth2/jwe/AbstractJweEncryptor.java
index 495483e..64e29da 100644
--- a/rt/rs/security/oauth-parent/oauth2-jwt/src/main/java/org/apache/cxf/rs/security/oauth2/jwe/AbstractJweEncryptor.java
+++ b/rt/rs/security/oauth-parent/oauth2-jwt/src/main/java/org/apache/cxf/rs/security/oauth2/jwe/AbstractJweEncryptor.java
@@ -114,6 +114,7 @@ public abstract class AbstractJweEncryptor implements JweEncryptor {
         
         byte[] jweContentEncryptionKey = getEncryptedContentEncryptionKey(theCek);
         JweCompactProducer producer = new JweCompactProducer(theHeaders, 
+                                             writer,                
                                              jweContentEncryptionKey,
                                              theIv,
                                              cipherText,