follow up correction in security filter chain

This commit is contained in:
MathewFrancis 2025-05-15 17:01:36 +05:30
parent af80c20f9f
commit 38ae119ea3

View File

@ -27,7 +27,6 @@ public class JWTTokenGeneratorFilter extends OncePerRequestFilter {
//at this point the user is authenticated we just have to send the token back
Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
System.out.println(authentication.getName()+" Is the name ");
if (null != authentication) {
//get the JWT key from the contents we defined