From 9b87fd602cadc7f3bc678b9e840908150f15ea5f Mon Sep 17 00:00:00 2001 From: Nanne Baars Date: Sun, 20 Oct 2019 15:09:45 +0200 Subject: [PATCH] Explicitly set session persistence to false (result in non serializable exception) --- .../src/main/resources/application-webgoat.properties | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webgoat-container/src/main/resources/application-webgoat.properties b/webgoat-container/src/main/resources/application-webgoat.properties index 4e68521e3..7b6acee6e 100644 --- a/webgoat-container/src/main/resources/application-webgoat.properties +++ b/webgoat-container/src/main/resources/application-webgoat.properties @@ -1,9 +1,11 @@ server.error.include-stacktrace=always server.error.path=/error.html server.servlet.context-path=/WebGoat +server.servlet.session.persistent=false server.port=${WEBGOAT_PORT:8080} server.address=${WEBGOAT_HOST:127.0.0.1} + server.ssl.key-store-type=${WEBGOAT_KEYSTORE_TYPE:PKCS12} server.ssl.key-store=${WEBGOAT_KEYSTORE:classpath:goatkeystore.pkcs12} server.ssl.key-store-password=${WEBGOAT_KEYSTORE_PASSWORD:password}