Spring Security와 인증 방식Spring Security 개요Spring Security는 애플리케이션의 인증 및 권한 관리를 담당하는 프레임워크.비유Spring Security → 은행의 보안 시스템 (가드)CustomUserDetailService → 방문자 명부를 관리하는 직원CustomAuthenticationFilter → 특정 VIP 고객만 입장할 수 있도록 하는 직원CustomUserDetailServiceSpring Security가 제공하는 UserDetailsService 인터페이스를 구현하여, 사용자 정보를 데이터베이스에서 가져오는 역할 수행.역할사용자 이름(username)을 기반으로 데이터베이스에서 사용자 정보를 조회.조회한 정보를 Spring Security가 이해할 ..