You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2019/05/16 13:27:40 UTC
[tomee] 01/02: Switch to debug as not all requests will have a JWT
This is an automated email from the ASF dual-hosted git repository.
dblevins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee.git
commit 36c0d5c4b1a07909f3f612998152512d501cd69c
Author: David Blevins <da...@gmail.com>
AuthorDate: Thu May 16 19:53:09 2019 +0900
Switch to debug as not all requests will have a JWT
---
.../org/apache/tomee/microprofile/jwt/bval/ValidationInterceptor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/bval/ValidationInterceptor.java b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/bval/ValidationInterceptor.java
index 74e9c5e..a1e2e33 100644
--- a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/bval/ValidationInterceptor.java
+++ b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/bval/ValidationInterceptor.java
@@ -52,7 +52,7 @@ public class ValidationInterceptor implements ContainerRequestFilter {
final Supplier<JsonWebToken> tokenSupplier = (Supplier<JsonWebToken>) requestContext.getProperty(JWT_SUPPLIER);
if (tokenSupplier == null) {
- VALIDATION.error("No JsonWebToken found in request attribute '" + JWT_SUPPLIER + "'");
+ VALIDATION.debug("No JsonWebToken found in request attribute '" + JWT_SUPPLIER + "'");
return;
}