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 |
Tags
- spring
- Android
- Thymeleaf
- transaction
- 스프링 핵심 원리
- 인프런
- 스프링 핵심 기능
- db
- pointcut
- http
- 알고리즘
- Greedy
- 자바
- JPQL
- 그리디
- kotlin
- JDBC
- Spring Boot
- QueryDSL
- Exception
- 백준
- jpa
- java
- Proxy
- 스프링
- 김영한
- AOP
- Servlet
- springdatajpa
- SpringBoot
Archives
- Today
- Total
목록사용법 (1)
개발자되기 프로젝트
[로그인] Spring Interceptor - 인증 체크
1. LoginCheckInterceptor 인증은 controller호출 전에만 진행되면 된다. preHandle만 구현하자. 미인증 사용자 요정이 들어온 경우 preHandler()은 false를 return하여 더 이상 진행하지 않는다. @Slf4j public class LoginCheckInterceptor implements HandlerInterceptor { @Override public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { String requestURI = request.getRequestURI(); log.info("인증 체크..
인프런/[인프런] 스프링 MVC 2
2021. 9. 27. 19:54