스터디 · 모집중
[ 백앤드 면접 스터디 ] 같이 하실 분..!
- 좋아요수
- 0
- 댓글수
- 0
- 조회수
- 506
스터디 · 모집중
팀프로젝트
팀프로젝트
팀프로젝트
팀프로젝트
질문&답변
해결했습니다...! secret key를 register page 에 넣고 있었네요 하하하 근데 사실 register 에 넣어도 secret_key 가 일치하지 않는데 로그인 되는 현상이 발생했습니다. AuthenticationManagerBuilder authenticationManagerBuilder = http.getSharedObject(AuthenticationManagerBuilder.class); authenticationManagerBuilder.authenticationProvider(new CustomAuthenticationProvider(userDetailsService, passwordEncoder())); authenticationManagerBuilder.parentAuthenticationManager(null); 다른 분 코드를 참고해서 이 코드를 Config 에 넣어줬더니 해결이 되던구요.. 특히 3번째 줄 코드가 있어야했습니다. 이유는 잘 모르겠습니다..ㄷㄷㄷ