tag:blogger.com,1999:blog-8712770457197348465.post8205531909936365701..comments2015-03-03T06:21:44.379-08:00Comments on Javarevisited: Spring Security Example Tutorial - How to limit number of User Session in Java J2EEJavin Paulhttps://plus.google.com/114528699166048052030noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-8712770457197348465.post-80783133056000802812013-09-11T00:10:57.613-07:002013-09-11T00:10:57.613-07:00how to enable Spring Security in case of browser c...how to enable Spring Security in case of browser close or browser crash scenario....??Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-26128162810336452222012-12-30T12:20:57.242-08:002012-12-30T12:20:57.242-08:00@Sinduraj, The concurrentsessionfilter indeed does...@Sinduraj, The concurrentsessionfilter indeed does not work in a clustered environment with multiple web servers. In order to make this work you would have to write a custom SessionRegistry as described here:<br />http://scalejava.blogspot.in/2012/12/clustered-spring-sessionregistry.htmlSourabh Ghosehttp://www.blogger.com/profile/12406723074994150793noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-85858058488695707582012-08-14T21:56:15.596-07:002012-08-14T21:56:15.596-07:00@Sashika, it doesn&#39;t handle browser close scen...@Sashika, it doesn&#39;t handle browser close scenario. If user closes its browser without logging off from application, his user session will be active on Server and all subsequent login from same user will be denied as &quot;maximum active session is 1&quot;. <br /><br />By the way this feature is called Spring Security Concurrent Session Control and available from Spring security 3.0 in Sindhurajnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-92069274370967066222012-04-23T06:25:19.762-07:002012-04-23T06:25:19.762-07:00Does this handle browser close or browser crash sc...Does this handle browser close or browser crash scenarios? If we set the max-sessions=1 and if we close the browser without logging off, can the user login again immediately?Sashikahttp://www.blogger.com/profile/09911266630964847597noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-86307081089226606652012-04-03T20:42:47.504-07:002012-04-03T20:42:47.504-07:00Cool Example, just few lines of code. Indeed looks...Cool Example, just few lines of code. Indeed looks like Spring Security is full of such great feature which just need configuration to make them active. I am loving Security Security :)danishnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-51291604429242329452012-04-03T14:09:00.960-07:002012-04-03T14:09:00.960-07:00How does this work in a clustered environment?How does this work in a clustered environment?John Turnerhttp://www.blogger.com/profile/08281855531398624790noreply@blogger.com