Grails spring-security-core 记住我功能
我正在使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没什么,默认就开的。只需确保该复选框存在并且名称为
_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