강의

멘토링

커뮤니티

Inflearn Community Q&A

sadasdwq's profile image
sadasdwq

asked

Spring Boot Security & JWT Lecture

Spring Boot Security Lecture 25 - Forced Login Process for JWT

언제 db에 값을 넣었나요?

Written on

·

631

0

언제 db에 값을 넣었나요? 강의중에 넣은 영상을 본적이 없었던 것 같아서요

springspring-securityjwt

Answer 2

0

25강입니다. 아마 야믈파일에서 아래 설정 건드리면서 DB가 바뀌신 것 같아요.

ddl-auto: update #create update none

아래 사이트에서 Rounds를 10(BCryptPasswordEncoder의 default값)으로 하고 1234를 encrypt해한 값 복사하고,

https://bcrypt-generator.com/

password에 붙여넣기하고, roles에는 ROLE_USER를, username에는 ssar을 넣어서 행을 새로 만들어주시고 실습하시면 될 것 같아요. 혹은 SQL을 직접 작성하셔도되구요. 저는 이렇게 해결했습니당.

0

metacoding님의 프로필 이미지
metacoding
Instructor

몇강 인지 알려주세요 ㅎ

sadasdwq's profile image
sadasdwq

asked

Ask a question