| 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 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 | 
- SQL프로그래머스
 - 구글로그인
 - javascript
 - sap ERP
 - Spring
 - 프로그래머스
 - kotlin 클래스
 - oauth2
 - 자바스크립트
 - 스프링
 - 스프링부트
 - Leetcode
 - SQL 문제풀이
 - 오라클
 - MSA
 - 스프링시큐리티
 - oracle
 - java8
 - js
 - SAP ABAP
 - mysql
 - 자바 스트림
 - LeetCode SQL
 - springboot
 - spring boot
 - SQL
 - 코틀린 클래스
 - python
 - pygame
 - 스프링부트 채팅서버
 
- Today
 
- Total
 
목록Spring Security (2)
웅겹살의 프로그래밍 삼매경
회원수정 DB, 세션 둘다 수정되는 로직 기록한다 필요한 내용 주석으로 달아둠 OAUTH2 작업중으로 수정예정 1. UserApiContoller @PutMapping("/user") public ResponseDto update(@RequestBody User user){ userService.update(user); // 여기서는 트랜잭션이 종료되기 때문에 DB값은 변경이 됐음 // 하지만 세션값은 변경되지 않은 상태이기때문에 세션값 갱신이 필요함 // 세션 등록 Authentication authentication = authenticationManager.authenticate(new UsernamePasswordAuthenticationToken(user.getUsername(), user.ge..
스프링부트 + JPA + 스프링시큐리티 프로젝트 진행중 시큐리티 관련내용 기록용으로 글 작성한다 OAUTH2 작업중으로 추가예정 설명 필요한부분 주석달아둠 1. SecurityConfig package com.leo.blog.config; import com.leo.blog.config.auth.PrincipalDetailService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.secur..