[TIL] 22.09.02

참새·2022년 9월 2일
0

✍️ Today


  • 댕과사전
    • 회원가입, 로그인, 소셜 로그인 리펙터링
    • 로그아웃 기능 구현



🏃 Tomorrow


  • 댕과사전
    • 마이페이지 기능 구현



🤔 Thought


  • member 관련 소스 리펙터링 완료
  • logout 기능 오류
    • getMemberFromAuthentication() 실행 시 member가 넘어오지 않는 오류 발생
    • 원인은 알 수 없으나 Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
      실행 시 member가 넘어오지 않음
    • authentication.getName()으로 member 테이블 조회 후 member 리턴으로 해결
    • 자세한 내용은 더 알아봐야함
profile
응애 나 아기 개발자

0개의 댓글