REDBOX(헌혈증 기부 시스템) - JWT 정리
·
Spring Security/JWT
1. JWT 기반 인증/인가 시스템 구축JWTFilter@Overrideprotected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException { String accessToken = request.getHeader("access"); if (accessToken == null) { filterChain.doFilter(request, response); return; } try { jwtUtil.isExpired(accessToken); ..