https://ekeprl.tistory.com/67 [Spring Security - JWT] (5) : Refresh Token 구현https://ekeprl.tistory.com/66 [Spring Security - JWT] (4) : 로그인 API 및 Postman 테스트https://ekeprl.tistory.com/65 [Spring Security - JWT] (3) : JwtFilter이전 포스팅을 통해 JWT 토큰의 생성과 검증을 담당하는 JwtUtil을 작성ekeprl.tistory.com 이전포스팅은 RefreshToken 구현에 대해 알아보았다. 이번 포스팅은 이어서 재발급 / 로그아웃 API 및 Postman을 이용한 테스트를 진행해보려 한다. 1. UserServicefun r..
https://ekeprl.tistory.com/66 [Spring Security - JWT] (4) : 로그인 API 및 Postman 테스트https://ekeprl.tistory.com/65 [Spring Security - JWT] (3) : JwtFilter이전 포스팅을 통해 JWT 토큰의 생성과 검증을 담당하는 JwtUtil을 작성했다.https://ekeprl.tistory.com/64 이번 포스팅은 매 요청마다 JWT 토큰을 검증ekeprl.tistory.com 이전포스팅에서 로그인/회원가입 api작성과 Postman을 이용해 테스트를 진행했다. 이번 포스팅은 RefreshToken을 구현해보려 한다. 0. RefreshToken이란Access Token이 만료되었을 때 재발급을 위해 사..
https://ekeprl.tistory.com/63 [Spring Security - JWT] (1) : SecurityConfig 설정https://ekeprl.tistory.com/62 [Spring Security] 세션 기반 vs JWT 기반https://ekeprl.tistory.com/30 Spring Security (1)Spring boot : 3.1Spring Security6Kotlin Spring security의 방식에 대해선 다루지않고, 어떻게 작성했는지를 다루ekeprl.tistory.com이전 포스팅을 통해 JWT 기반 인증을 위한 SecurityConfig 설정을 알아보았다.이어서 이번 포스팅은 JWT 토큰의 생성과 검증을 담당하는 JwtUtil을 작성해보려 한다. 1. B..
https://ekeprl.tistory.com/30 Spring Security (1)Spring boot : 3.1Spring Security6Kotlin Spring security의 방식에 대해선 다루지않고, 어떻게 작성했는지를 다루도록 하려한다. 1. Build.gradle.ktsdependencies { //spring-secutiry (보안) implementation("org.springframework.boot:ekeprl.tistory.com과거 프로젝트에서 세션 기반 Spring Security를 적용했었다.이번 Stockly 프로젝트에서는 JWT 방식으로 전환했고, 그 이유를 정리하려 한다. 먼저 간단하게 두 가지 인증방법을 말하자면, 세션 기반 인증로그인 시 서버가 세션을 생성하..
먼저 Session이란클라이언트별로 서버에 유지되는 저장공간이다. *작성자는 소스를 작성할때 사용자를 식별할때 주로 사용한다.* 이전 포스팅에서 게시판목록을 조회할 때Service단에서fun adminBoardSelectList(param : SearchModel) : JSONObject { val jsono = JSONObject() try { val listdata = mapper.adminBoardSelectList(param, session.getAttribute("userid").toString()) jsono["RESULT"] = "OK" jsono["LIST"] = listdata jsono["MESSAGE"] = "조회에 성공하였..
Spring boot : 3.1Spring Security6Kotlin Spring security의 방식에 대해선 다루지않고, 어떻게 작성했는지를 다루도록 하려한다. 1. Build.gradle.ktsdependencies { //spring-secutiry (보안) implementation("org.springframework.boot:spring-boot-starter-security")}의존성 추가를해주고 2.SecurityConfig.kt - FilterChain@Bean@Throws(Exception::class)fun filterChain(http:HttpSecurity) : SecurityFilterChain{ return http.csrf { obj:..
- Total
- Today
- Yesterday
- dbeaver
- 게시판
- JAR매니패스트
- Git
- 백엔드
- MariaDB
- 의존성
- securityconfig
- dependencies
- kotlin
- Column count doesn't match value count at row 1
- 명령줄이 너무 깁니다
- 특일정보
- null
- CRUD
- Powershell
- GitHub
- Postman
- insert
- Spring Security
- springsecurity
- jwt
- Insert오류
- session저장
- spring ai
- ubuntu
- gradle
- 서버호스트
- AI
- InetAddress
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |