일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- javascript
- 코딩테스트
- springboot
- 스프링 부트
- 시큐리티
- JAVA11
- security
- 시큐리티 로그아웃
- input태그
- codingtest
- html
- 싱글톤
- gradle
- css
- 프로그래머스
- 반복문
- Spring boot
- 로그인
- 시큐리티로그인
- java
- 2차원배열
- StyleSheet
- 리눅스
- 시큐리티 로그인
- 소스트리
- sql
- programmers
- 목록
- springSecurity
- Linux
Archives
- Today
- Total
목록스프링 (1)
JAVAIARY

1. 로그인 처리 로그인 한 사용자에게 부여된 권한 (Authentication) 객체를 이용해 사용자가 가진 모든 권한을 문자열로 체크하여 사용자가 권한을 가졌다면 로그인 후 바로 권한 페이지로 이동할 수 있게 해 주기 1) AuthenticationSuccessHandler 구현 @Log4j public class CustomLoginSuccessHandler implements AuthenticationSuccessHandler { @Override public void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response, Authentication auth) throws IOException, Servle..
lectureNote/SPRING
2022. 12. 18. 16:29