Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to limit Concurrent Login Sessions in a Java web application using Spring Security? Example

How To Limit Concurrent Login Sessions In A Java Web Application Using Spring Security? Example
If you don't know, Spring security can limit the number of sessions a user can have in a Java Web Application. If you are developing a web application especially a secure web application in Java JEE then you must have come up with the requirement similar to many online banking portals have like only one session per user at a time or no concurrent session per user. If the user tries to open a new session then either an alert is shown or his previous session is closed. Even though you can also implement this functionality without using spring security but with Spring security, it's just a piece of cake with coffee :). 


This post first appeared on Javarevisited: Blog About Java Programmin, please read the originial post: here

Share the post

How to limit Concurrent Login Sessions in a Java web application using Spring Security? Example

×

Subscribe to Javarevisited: Blog About Java Programmin

Get updates delivered right to your inbox!

Thank you for your subscription

×