Skip to content

Commit 3135de7

Browse files
metsmasvenzik
authored andcommitted
Set __Host- prefix to session cookie
WE2-853 Signed-off-by: Raul Metsma <[email protected]>
1 parent 96d718b commit 3135de7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

example/src/main/java/eu/webeid/example/config/ApplicationConfiguration.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ protected void configure(HttpSecurity http) throws Exception {
6464
.authenticated()
6565
.and()
6666
.logout()
67-
.logoutUrl("/logout")
68-
.deleteCookies("JSESSIONID")
6967
.logoutSuccessHandler(new HttpStatusReturningLogoutSuccessHandler())
7068
.and()
7169
.headers()
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
spring.profiles.active=dev
2+
server.servlet.session.cookie.name=__Host-JSESSIONID

0 commit comments

Comments
 (0)