简体   繁体   中英

how to limit one connection/user with oAuth2/spring security

I am currently building a video/chat application. Server side is spring-based, with spring security and oAuth2 about security concerns. Front end is a Java FX8 application.

I want to limit my service to one connection per user .

I don't see any support of that in SpringSecurity/oAuth2.

What is the best solution to do that ?

Any help would be appreciated:)

If I understand your question in correct manner, you need this Spring Security 3 Doc and Spring Security 4 Doc

"Concurrency Controll"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM