Skip to content

Commit

Permalink
#809_adding code to allow storage of HTTPSession with JDBC
Browse files Browse the repository at this point in the history
  • Loading branch information
DonaldChung-HK committed Dec 17, 2024
1 parent def2c42 commit 2e1e46e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
9 changes: 8 additions & 1 deletion iam-login-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,14 @@
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-data-redis</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
spring:
session:
store-type: jdbc
jdbc:
cleanup-cron: 0 */45 * * * *
table-name: SPRING_SESSION

0 comments on commit 2e1e46e

Please sign in to comment.