Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7393

add message to Jwe exception.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.11
    • 3.1.12, 3.2.0
    • None
    • None
    • Unknown

    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

          Activity

            People

              sergey_beryozkin Sergey Beryozkin
              amir20001 Amir Behnam
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: