分享于https://blog.csdn.net/chengqiuming/article/details/103282586https://github.com/ChinaSilence/spring-security-demoshttp://www.spring4all.com/article/