인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

Inflearn Community Q&A

sgr42443863's profile image
sgr42443863

asked

Spring Security

Spring Security Testing Part 2

passwordEncoder 질문드립니다.

Written on

·

257

0

  • PasswordEncoderFactories.createDelegatingPasswordEncoder();를 사용하면 PasswordEncoder mapped for the id "null" 이 발생합니다.

  • NoOpPasswordEncoder는 정상작동 되는데 이유를 모르겠습니다.

springjava

Answer 1

0

whiteship님의 프로필 이미지
whiteship
Instructor

정확한 원인을 파악하려면 디버깅을 해봐야겠지만, 추측을 해보자면 DelegatingPasswordEncoder가 인식하지 못하는 패스워드인것 같습니다. 패스워드에 해싱 알고르듬을 접두어로 가지고 있는 패스워드가 아니라서 에러가 난걸로 보이네요.

sgr42443863's profile image
sgr42443863

asked

Ask a question