关于secuirty3中的remember me功能介绍很多,实现起来也很简单,不过有个问题就是自动登录后会取不到authentication对象,只要在XML配置文件中<authentication-manager 元素里加入 erase-credentials="false" 即可解决问题!