1. Spring Security, Jwt 간에 순환 참조 발생

문제 원인:

UserDetailsImpl 과 UserDetailsServiceImpl 을 사용하지 않아도 된다는 기술매니저님 피드백을 듣고 적용해보고자 User 에 UserDetails를 Implements 하고, UserDetailsServiceImpl 의 기능을 JwtUtil에서 사용하면서 순환참조 발생

(1)

스크린샷 2023-05-12 오후 10.38.18.png

Problem : WebSecurityConfig → JwtUtil → inMemoryUserDetailManger 간의 순환 참조 발생

Try : WebSecurityConfig에 UserDetailsService 빈 주입

		@Bean
    public UserDetailsService userDetailsService() {
        return new InMemoryUserDetailsManager();
    }

(2)

스크린샷 2023-05-13 오후 1.36.09.png

Problem : WebSecurityConfig → JwtUtil 간 순환 참조 발생

Try : public class JwtUtil implements UserDetailsService,

JwtUtil에서 UserDetailsService를 implemets 하여 해결

2. S3 Conntect timed out

스크린샷 2023-05-13 오후 7.23.12.png