Spring/JWT1 기본 지식 ) 회원 인증 처리 로직 아무런 설정을 하지 않고 로그인을 할때 처리되는 인증 로직은 form 방식이다. Form based Authentication 방식으로 인증을 진행할때는 UsernamePasswordAuthenticationFilter를 이용해서 인증 로직을 처리한다. UsernamePasswordAuthenticationFilter에서 UsernamePasswordAuthenticationToken을 생성해 AuthenticationManager로 넘겨주는 코드 UsernamePasswordAuthenticationToken은 Authentication의 구현체인 AbstractAuthenticationToken을 상속 받았다. ※ 개인적으로 공부한 내용이기 때문에 틀린 내용이 존재 할수 있습니다. 잘못된 내용이 존재.. 2023. 3. 13. 이전 1 다음