This is an automated email from the ASF dual-hosted git repository.
sergeyb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/master by this push:
new 2c50132 Reporting a Jwe exception cause as well
2c50132 is described below
commit 2c50132361797635c12f7f8baac62126cf4a5e23
Author: Sergey Beryozkin <[email protected]>
AuthorDate: Tue Oct 24 17:21:51 2017 +0100
Reporting a Jwe exception cause as well
---
.../java/org/apache/cxf/rs/security/jose/jwe/AbstractJweEncryption.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/rt/rs/security/jose-parent/jose/src/main/java/org/apache/cxf/rs/security/jose/jwe/AbstractJweEncryption.java
b/rt/rs/security/jose-parent/jose/src/main/java/org/apache/cxf/rs/security/jose/jwe/AbstractJweEncryption.java
index 595948a..6294ca2 100644
---
a/rt/rs/security/jose-parent/jose/src/main/java/org/apache/cxf/rs/security/jose/jwe/AbstractJweEncryption.java
+++
b/rt/rs/security/jose-parent/jose/src/main/java/org/apache/cxf/rs/security/jose/jwe/AbstractJweEncryption.java
@@ -121,7 +121,7 @@ public abstract class AbstractJweEncryption implements
JweEncryptionProvider {
LOG.warning("Unsupported algorithm: " +
state.keyProps.getKeyAlgo());
throw new
JweException(JweException.Error.INVALID_CONTENT_ALGORITHM);
}
- throw new
JweException(JweException.Error.CONTENT_ENCRYPTION_FAILURE);
+ throw new
JweException(JweException.Error.CONTENT_ENCRYPTION_FAILURE, ex);
}
}
protected byte[] getActualCipher(byte[] cipher) {
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].