[
https://issues.apache.org/jira/browse/CXF-7393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16048049#comment-16048049
]
ASF GitHub Bot commented on CXF-7393:
-------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/cxf/pull/277
> add message to Jwe exception.
> -----------------------------
>
> Key: CXF-7393
> URL: https://issues.apache.org/jira/browse/CXF-7393
> Project: CXF
> Issue Type: Improvement
> Affects Versions: 3.1.11
> Reporter: Amir Behnam
> Fix For: 3.2.0, 3.1.12
>
>
> currently when a JWE exception is thrown this is what the log message looks
> like.
> {code:title=sample
> error|theme=FadeToGrey|linenumbers=true|language=java|firstline=0001|collapse=true}
> org.apache.cxf.rs.security.jose.jwe.JweException: null
> at
> org.apache.cxf.rs.security.jose.jwe.AesCbcHmacJweDecryption.validateAuthenticationTag(AesCbcHmacJweDecryption.java:61)
> at
> org.apache.cxf.rs.security.jose.jwe.AesCbcHmacJweDecryption.doDecrypt(AesCbcHmacJweDecryption.java:40)
> at
> org.apache.cxf.rs.security.jose.jwe.AbstractJweDecryption.decrypt(AbstractJweDecryption.java:52)
> at
> com.groupbyinc.security.JsonWebEncryption.decrypt(JsonWebEncryption.java:64)
> at
> com.groupbyinc.security.JsonWebEncryptionTest.testDecryptInvalidJwe(JsonWebEncryptionTest.java:86)
> {code}
> it would be nice if the error passed into the exception was printed out as
> the message.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)