Description
currently when a JWE exception is thrown this is what the log message looks like.
sample error
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)
it would be nice if the error passed into the exception was printed out as the message.
Attachments
Issue Links
- links to