follow up correction in security filter chain
This commit is contained in:
parent
af80c20f9f
commit
38ae119ea3
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user