Grails spring-security-core 记住我功能

发布于 2024-12-20 00:35:55 字数 392 浏览 3 评论 0原文

我正在使用 spring-security-core 插件 v. 1.2.6 (文档)。 我想实现 记住我功能。我认为配置和GSP做得很好。但是我现在必须在 LoginController 中做什么才能使其正常工作?我找不到任何教程或好的文档。

I'm using the spring-security-core plugin v. 1.2.6 (documentation).
I want to implement the remember me functionality. Configuration and GSP is done well I think. But what do I have to do now in my LoginController to make it work? I can't find any tutorial or good documentation for it.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

红ご颜醉 2024-12-27 00:35:55

没什么,默认就开的。只需确保该复选框存在并且名称为 _spring_security_remember_me

Nothing, it's on by default. Just make sure that the checkbox is there and has the name _spring_security_remember_me

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