Spring security与shiro shiro更轻量级,spring security过于复杂。 Apache Shiro 使用手册(一)Shiro架构介绍 Spring Security笔记:Remember Me(下次自动登录)