Fixed MP JWT Chain Filter.

Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/b0f48c6a
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/b0f48c6a
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/b0f48c6a

Branch: refs/heads/apache/tomee-7.1.x
Commit: b0f48c6a45a0966e721adbf3c12ab84fb009038c
Parents: 944b419
Author: Roberto Cortez <[email protected]>
Authored: Wed Jul 25 18:23:25 2018 +0100
Committer: Roberto Cortez <[email protected]>
Committed: Wed Jul 25 18:41:39 2018 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/b0f48c6a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java
----------------------------------------------------------------------
diff --git 
a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java 
b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java
index 3990ad2..ad4c6a0 100644
--- a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java
+++ b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/MPJWTFilter.java
@@ -62,6 +62,7 @@ public class MPJWTFilter implements Filter {
     @Override
     public void doFilter(final ServletRequest request, final ServletResponse 
response, final FilterChain chain) throws IOException, ServletException {
         if (authContextInfo.isUnsatisfied()) {
+            chain.doFilter(request,response);
             return;
         }
 

Reply via email to