Also switches pom.xml to spring-boot-starter-session-jdbc (Spring Boot 4.x split the session auto-config into a separate starter; spring-session-jdbc alone does not register JdbcSessionAutoConfiguration). Adds SpringSessionConfig#cookieSerializer bean to configure fa_session name and SameSite=Strict (spring.session.cookie.* properties are no longer supported by the Boot 4.x auto-configuration layer). Cleans up application.yaml / application-dev.yaml: removes store-type: jdbc and the unsupported cookie.* keys. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
14 lines
371 B
YAML
14 lines
371 B
YAML
spring:
|
|
jpa:
|
|
show-sql: true
|
|
# spring.session.cookie.secure is no longer a supported Boot 4.x property.
|
|
# DefaultCookieSerializer auto-detects Secure from request.isSecure().
|
|
# Direct HTTP in dev → isSecure()=false → cookie sent without Secure attribute.
|
|
|
|
springdoc:
|
|
api-docs:
|
|
enabled: true
|
|
swagger-ui:
|
|
enabled: true
|
|
path: /swagger-ui.html
|