Maximum concurrent users in Spring Security

前端 未结 3 1375
有刺的猬
有刺的猬 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:25

    Please keep this in your messages.properties

    ConcurrentSessionControlStrategy.exceededAllowed=This account is already using by someone.
    

    it will display "This account is already using by someone." you can give what ever you want.

    Also don't forget to config Resourcebundle

提交回复
热议问题