[Spring Security] UsernamePasswordAuthenticationFilter
·
🛠️Backend/🌳Spring
UsernamePasswordAuthenticationFilter 는 SecurityFilterChain 에 3번째 필터에 해당하는 인증을 처리해주는 필터이다.✅ 1. UsernamePasswordAuthenticationFilter유저 아이디와 비밀번호를 받아 인증을 해주는 필터이며, 디폴트로 구현이 되어있는 필터이다.AbstractAuthenticationProcessingFilter 추상 클래스를 상속받아서 구현한 클래스이다.쉽게말해, 해당 필터는 구현이 되어있어서 바로 이용이 가능하지만, 보통 상속받아서 재정의를 해서 이용을 한다는 의미이다.✅ 2. UsernamePasswordAuthenticationFilter 핵심 메서드attemptAuthentication: 유저의 정보를 받아서 검증을 해..