728x90
다 맞게 작동되는거 같은데 로그인이 안되더라니
JSP에서 input 태그 내 비밀번호 name값을 기본값인 password로 안하고 다른걸로 해뒀더니
시큐리티에서 값을 못 받고 있었던 거다.
passwordParameter("password") : 로그인 폼에서 password태그의 name이 password로 설정되어야 함
출처: https://ivory-room.tistory.com/26 [개발로 자기개발]
728x90
'Spring (boot) 오류 해결' 카테고리의 다른 글
Uncaught TypeError: $(...).summernote is not a function (0) | 2022.02.03 |
---|---|
uncaught referenceerror $ is not defined (0) | 2022.02.03 |
principal에 anonymousUser 값으로 뻘 짓 (0) | 2022.02.02 |
SPRING.JPA.OPEN-IN-VIEW 로그 오류 해결하기 (0) | 2022.02.02 |
시큐리티 로그인 principal 세션 저장 오류.. (0) | 2022.02.02 |
댓글