From 67b32f7e51b97a9a76a28b75c47927957423ec1f Mon Sep 17 00:00:00 2001 From: Felix Dittrich <31076102+f11h@users.noreply.github.com> Date: Fri, 20 May 2022 11:58:59 +0200 Subject: [PATCH] CerthAuth Filter defaults to filter request in case of error (#185) --- .../gateway/restapi/filter/CertificateAuthenticationFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/europa/ec/dgc/gateway/restapi/filter/CertificateAuthenticationFilter.java b/src/main/java/eu/europa/ec/dgc/gateway/restapi/filter/CertificateAuthenticationFilter.java index 0614b763..5df7bbde 100644 --- a/src/main/java/eu/europa/ec/dgc/gateway/restapi/filter/CertificateAuthenticationFilter.java +++ b/src/main/java/eu/europa/ec/dgc/gateway/restapi/filter/CertificateAuthenticationFilter.java @@ -81,7 +81,7 @@ protected boolean shouldNotFilter(HttpServletRequest request) { } } catch (Exception e) { handlerExceptionResolver.resolveException(request, null, null, e); - return true; + return false; } }