최근 Spring Security 설정을 하며 발견한 오류 입니다.해당 오류는 Spring Security의 AuthenticationProvider를 구현하며 메소드를 Overried하여 그대로 사용하는 경우 발생할 수 있습니다. AuthenticationProvider에는 authenticate, supports 두 메소드가 존재합니다.인터페이스 상속 후 자동으로 Overried를 하게 되면 supports 메소드의 리터값은 false로 고정되어 있습니다. public interface AuthenticationProvider { /** * Performs authentication with the same contract as * {@link org.springframework.security..
[Error]Spring Security authenticate 302
2024. 9. 2.