Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Not a Bug
-
Affects Version/s: 3.0.1
-
Fix Version/s: 3.0.2
-
Component/s: controller
-
Labels:None
Description
When server is restarted while being logged in. Sometimes it's fail to login again. It's because some session and related cookie are remained in the spring security context.
I found following line in applicationContext-security.xml
<session-management invalid-session-url="/login" session-fixation-protection="migrateSession" />
migrateSession is
- Indicates whether an existing session should be invalidated when a user authenticates and a new session
started. If set to "none" no change will be made. "newSession" will create a new empty session.
"migrateSession" will create a new session and copy the session attributes to the new session. Defaults to
"migrateSession".
We may need newSession instead here.
Mavlarn.. Please follow-up this issue.