Skip to content

Commit

Permalink
Update JwtTokenVerifier.java
Browse files Browse the repository at this point in the history
  • Loading branch information
iamjavokhirfarkhodov authored Apr 13, 2024
1 parent 1ce0edc commit 83f7a05
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ protected boolean shouldNotFilter(HttpServletRequest request) throws ServletExce

@Override
protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException {
//Skipping JWT Authentication for public urls
// Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
// if (authentication == null){
// filterChain.doFilter(request, response);
// return;
// }

// JWT token generation for any protected urls
String token = request.getHeader("Authorization");
Expand Down

0 comments on commit 83f7a05

Please sign in to comment.