Hey guys
After years of messing around with self written security code, I decided to port my Struts webapp to use Spring Security instead. Authentication and authorization is working fine but I've got a problem with SessionId.
I tried to test my webapp inside Firefox and logged on as "Lager", some kind of superuser, and in another tab I used "100000", which is a normal user. My problem is now, that the second login overwrites the first session because it uses exactly the same SessionId.
What am I doing wrong?Code:first login: [WARN] LoggerListener - Authentication event AuthenticationSuccessEvent: lager; details: org.springframework.security.ui.WebAuthenticationDetails@255f8: RemoteIpAddress: 127.0.0.1; SessionId: E15D112F3CAA5EC4578D993672D2C7BA [WARN] LoggerListener - Authentication event InteractiveAuthenticationSuccessEvent: lager; details: org.springframework.security.ui.WebAuthenticationDetails@255f8: RemoteIpAddress: 127.0.0.1; SessionId: E15D112F3CAA5EC4578D993672D2C7BA second login: [WARN] LoggerListener - Authentication event AuthenticationSuccessEvent: 100000; details: org.springframework.security.ui.WebAuthenticationDetails@255f8: RemoteIpAddress: 127.0.0.1; SessionId: E15D112F3CAA5EC4578D993672D2C7BA [WARN] LoggerListener - Authentication event InteractiveAuthenticationSuccessEvent: 100000; details: org.springframework.security.ui.WebAuthenticationDetails@255f8: RemoteIpAddress: 127.0.0.1; SessionId: E15D112F3CAA5EC4578D993672D2C7BA
Thx for any help.
Michael


