Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- jpa
- 인프런
- 스프링
- pointcut
- 백준
- JPQL
- Servlet
- QueryDSL
- 자바
- 스프링 핵심 기능
- 스프링 핵심 원리
- 알고리즘
- Android
- 그리디
- db
- 김영한
- Thymeleaf
- Exception
- http
- java
- AOP
- Spring Boot
- SpringBoot
- transaction
- springdatajpa
- JDBC
- spring
- Greedy
- Proxy
- kotlin
Archives
- Today
- Total
목록바인딩 오류 (1)
개발자되기 프로젝트
로그인 처리
로그인 시 검증 처리를 위해 의존성 추가. implementation 'org.springframework.boot:spring-boot-starter-validation' 로그인을 벌써 구현하는 이유? 세션에서 로그인 회원 정보를 가져와서, 글 작성시 작성자로 활용하기 위함 1. 로그인 방식 쿠키 세션 2. loginForm 로그인 시 입력할 정보이다. @Getter @AllArgsConstructor public class LoginForm { private String loginId; private String password; } 3. loginService 로그인 처리 로직은 간단하다 비밀번호가 DB에 입력된 값과 동일하면 Member정보를 반환한다. 이 때 DTO로 변환하여 return. @S..
Project/블로그 게시판 만들기
2021. 10. 4. 23:39