Setting jsessonid cookie to SameSite=Strict attribute in spring boot?
问题 What is the spring-boot configuration to set jsessionId cookie as SameSite=Strict. JsessionId need to add SameSite=Strict or existing cookie not new cookie generation.Is it support? 回答1: I used Rfc6265CookieProcessor to configure SameSite flag in the spring boot application as a workaround. build.gradle : dependencies { implementation 'org.springframework.boot:spring-boot-starter-tomcat' ... } Config in the main class: @Bean public ServletWebServerFactory servletContainer() { return new