From bf627b304b04984007f350d87b8abd1d9dccedac Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Wed, 20 Jul 2022 19:34:29 +0200 Subject: [PATCH] remove logger --- src/main/java/com/covas/Resources/TokenRessource.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/com/covas/Resources/TokenRessource.java b/src/main/java/com/covas/Resources/TokenRessource.java index cd77c7a..ad37588 100644 --- a/src/main/java/com/covas/Resources/TokenRessource.java +++ b/src/main/java/com/covas/Resources/TokenRessource.java @@ -70,12 +70,10 @@ public class TokenRessource { return Response.status(Response.Status.CREATED).cookie(new NewCookie(new Cookie("jwt", newJwtCookie), "Token JWT", 60, false), new NewCookie(new Cookie("user", nameEncoded), "Username", 60, false)).build(); } // All mp.jwt and smallrye.jwt properties are still effective, only the verification key is customized. - LOGGER.info(jwtCookie); try { jwt = parser.parse(jwtCookie); } catch(ParseException p){ - LOGGER.info(p); return Response.status(Response.Status.NOT_ACCEPTABLE).build(); } // or jwt = parser.decrypt(jwtCookie, secret);