This is an automated email from the ASF dual-hosted git repository.

coheigea 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 dc19b2d  Pass the old exception through as well
dc19b2d is described below

commit dc19b2d199805ddb9bb39950d10037b5ea2ef070
Author: Colm O hEigeartaigh <cohei...@apache.org>
AuthorDate: Mon Jan 21 16:07:13 2019 +0000

    Pass the old exception through as well
---
 .../cxf/rs/security/httpsignature/filters/VerifySignatureFilter.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/rt/rs/security/http-signature/src/main/java/org/apache/cxf/rs/security/httpsignature/filters/VerifySignatureFilter.java
 
b/rt/rs/security/http-signature/src/main/java/org/apache/cxf/rs/security/httpsignature/filters/VerifySignatureFilter.java
index 15ee596..71245f5 100644
--- 
a/rt/rs/security/http-signature/src/main/java/org/apache/cxf/rs/security/httpsignature/filters/VerifySignatureFilter.java
+++ 
b/rt/rs/security/http-signature/src/main/java/org/apache/cxf/rs/security/httpsignature/filters/VerifySignatureFilter.java
@@ -77,7 +77,7 @@ public final class VerifySignatureFilter implements 
ContainerRequestFilter {
             | InvalidDataToVerifySignatureException | InvalidSignatureException
             | MultipleSignatureHeaderException | 
MissingSignatureHeaderException ex) {
             LOG.warning(ex.getMessage());
-            throw new BadRequestException();
+            throw new BadRequestException(ex);
         }
         LOG.fine("Finished filter message verification process");
     }

Reply via email to