找不到如何在OpenID中实现RememberMe
服务的方法。有class扩展AbstractRememberMeServices
,它可以使用简单的表单登录。登录后有下一个日志:
2015-12-17 07:29:15.086 DEBUG 260 --- [nio-8080-exec-5] p.s.s.CustomPersistentRememberMeServices : Did not send remember-me cookie (principal did not set parameter 'remember-me')
2015-12-17 07:29:15.086 DEBUG 260 --- [nio-8080-exec-5] p.s.s.CustomPersistentRememberMeServices : Remember-me login not requested.
登录通过/ openid工作?openid_identifier = IDENTIFIER
答案 0 :(得分:0)
只需添加setAlwaysRemember(true);到您的AbstractRememberMeServices实现的构造函数。