25.02.17 JWT 검증 필터 와 테스트 코드 any()
·
Spring Boot
개요프로젝트를 진행하면서 JWT를 검증하는 필터를 구현하였다. 여기서 의문점이 든 부분을 정리하고 검색 기능에 사용할 queryDSL에 대해 공부한걸 정리해보려한다. JWT 검증 필터 의문점 @Bean public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception { http.csrf(csrf -> csrf.disable()); http.addFilterBefore(new JwtAuthenticationFilter(jwtUtil), UsernamePasswordAuthenticationFilter.class); http.sessionManagement((sessionManage..