Grails Spring Security Core 插件 - 如何限制并发会话?
我正在尝试配置 Grails Spring-Security-Core 插件来限制用户可以拥有的并发会话数为 1。我在 Spring Security 文档中看到有关并发会话控制的部分,但我不知道如何将该信息映射到 Grails Spring-Security-Core 配置文件?有人有例子或方法吗?
I am trying to configure Grails Spring-Security-Core plugin to limit the number of concurrent sessions that a user can have to one. I see in the Spring Security documentation a section on Concurrent Session Control, but I can't figure out how to map that information to the Grails Spring-Security-Core configuration files? Does anyone have an example or an approach?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
此链接已过时,因此,包名称可能会发生变化,并且某些步骤是多余的,但也许概述的技术仍然相关。
This link is dated, thus the package names would have changed and some of the steps redundant, but perhaps the technique outlined is still relevant.