官方文档:http://static.springsource.org/spring-security/site/docs/3.1.x/reference/springsecurity-single.html spring security3:http://panyongzheng.iteye.com/blog/1478029