반응형
Maximum sessions of 1 for this principal exceeded
<concurrency-control max-sessions="1" expired-url="/member/login" error-if-maximum-exceeded="true"/>
세션에서 이것을 적용했을 때 , 중복 로그인하면 안되면서 세션이 없으면서 로그인도 안된다. 노답이다. 제대로 된 해결방안은 못찾은거 같다
<concurrency-control max-sessions="1" />
이렇게 선언하면서 최초 로그인만 세션으로 허용하도록 하였다.
나중에 다시 확인해보자
반응형
'Web > 스프링' 카테고리의 다른 글
| 스프링 시큐리티 - Remember Me (0) | 2017.04.06 |
|---|---|
| 스프링 시큐리티가 적용이 안될때.. spring security 3.1 isAuthenticated() not working (0) | 2017.04.05 |
| 스프링 시큐리티 csrf 태그라이브러리 (0) | 2017.04.03 |
| 대체 .. jndi는 언제 왜 쓰는 것인가.. 굳이 필요하나 .. (0) | 2017.03.31 |
| 스프링 시큐리티 -참조 페이지 (0) | 2017.03.29 |
댓글