spring-guides / gs-securing-web

Securing a Web Application :: Learn how to protect your web application with Spring Security.

Home Page:http://spring.io/guides/gs/securing-web/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Login does not work without set cookie name

stephandorer opened this issue · comments

The login does not work. Since no cookie is not set, the Authentication is removed between requests.

Solution:
Create application.properties and set server.servlet.session.cookie.name

Works for me. The default cookie name is JSESSIONID. Maybe you switched that off somehow?