Maximum concurrent users in Spring Security

前端 未结 3 1351
有刺的猬
有刺的猬 2021-01-05 04:43

I am using Spring Security 3.0 in my project and I am restricting user to have maximum one session. Configuration is given below :



        
3条回答
  •  执笔经年
    2021-01-05 05:19

    expired-url should be what you require. In the configuration for spring security

    
    

    also add following listener in web.xml.

    org.springframework.security.web.session.HttpSessionEventPublisher 
    

提交回复
热议问题