Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴

Kim ByeungHyun

PasswordEncoder matches 함수 본문

카테고리 없음

PasswordEncoder matches 함수

sandbackend 2022. 11. 1. 16:44

pw가 일치하지 않으면 Fals를 보내는 validatePassword메소드 만들기

인코딩된 문자열과 원본 데이터 문자열인 pw를 비교해볼때 matches함수를 이용한다.

 

 

 

참고문헌)

https://velog.io/@albaneo0724/TIL-PasswordEncoder-matches-%ED%95%A8%EC%88%98

 

[TIL] PasswordEncoder matches 함수

Spring security를 사용 할 때, 패스워드를 인코딩하기 위해 PasswordEncdoer 클래스를 사용하게 된다.더해서 개인화된 인증 로직을 구현하기 위해 AuthenticationManager와 AbstractAuthenticationProcessingFi

velog.io