authenticationProvider, secret_key 관련 질문
해결했습니다...! secret key를 register page 에 넣고 있었네요 하하하 근데 사실 register 에 넣어도 secret_key 가 일치하지 않는데 로그인 되는 현상이 발생했습니다. AuthenticationManagerBuilder authenticationManagerBuilder = http.getSharedObject(AuthenticationManagerBuilder.class); authenticationManagerBuilder.authenticationProvider(new CustomAuthenticationProvider(userDetailsService, passwordEncoder())); authenticationManagerBuilder.parentAuthenticationManager(null); 다른 분 코드를 참고해서 이 코드를 Config 에 넣어줬더니 해결이 되던구요.. 특히 3번째 줄 코드가 있어야했습니다. 이유는 잘 모르겠습니다..ㄷㄷㄷ