Skip to content

Commit

Permalink
Fix: 재인증으로 다시 바꿈 (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
klkim1913 authored Aug 9, 2023
1 parent 5ac9879 commit 5387347
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ public JwtAuthorizationFilter(AuthenticationManager authenticationManager, Membe
protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain chain) throws IOException, ServletException {
System.out.println("JwtAuthorizationFilter : 인증이나 권한이 필요한 주소 요청이 됨");

// 특정 경로에 대한 요청이라면 JWT 검사를 하지 않음
if (!request.getRequestURI().startsWith("/api/auctions")) {
chain.doFilter(request, response);
return;
}
// // 특정 경로에 대한 요청이라면 JWT 검사를 하지 않음
// if (!request.getRequestURI().startsWith("/api/auctions")) {
// chain.doFilter(request, response);
// return;
// }

String jwtHeader = request.getHeader(jwtConfig.getHeader());
System.out.println("jwtHeader = " + jwtHeader);
Expand Down

0 comments on commit 5387347

Please sign in to comment.