Grails Spring Security Core 插件 - 如何限制并发会话?

发布于 2024-10-10 01:15:14 字数 158 浏览 0 评论 0原文

我正在尝试配置 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浅听莫相离 2024-10-17 01:15:14

此链接已过时,因此,包名称可能会发生变化,并且某些步骤是多余的,但也许概述的技术仍然相关。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文