Spring Security 4.0.0.RC1 发布,此版本解决了 40 个 tickets。值得关注的改进如下: Updated Defaults Polish WebSocket Security Minimum Dependency Versions Removed Deprecations Documentation Formats Simplified Configuration @EnableWebSecuritypublic class SecurityConfig { @Autowired public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception { auth .inMemoryAuthentication() .withUser("user").password("password").roles("USER"); } } GA 版本将会在 2015 年 1 月份发布! 相关链接: Spring Security | JIRA | Reference Spring Security 4.0.0.RC1 发布下载地址