i find that spring security, session concurrency is very strange.
<sec:session-management>
<sec:concurrency-control max-sessions="1" error-if-maximum-exceeded="true" />
</sec:session-management>
the code means that, just only one user can log in in time.
thanks for your response Best regards
Make sure you didn't forget to configure a listener in web.xml, as required for session management:
<listener>
<listener-class>
org.springframework.security.web.session.HttpSessionEventPublisher
</listener-class>
</listener>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With