Spring security max session allowed
问题 I'm using spring security 3.1.4 and i would like to limit the number of session per user to 1 but if someone tries to log in it will close the old session and open a new one (instead of not allowing to log in) how can i do this? EDIT: this is what i added to the xmls: web.xml <listener> <listener-class> com.net.filter.session.SessionListener </listener-class> </listener> SessionListener extends HttpSessionEventPublisher security.xml <security:intercept-url pattern="/**" access=