前言 在上一章Spring-Security源码分析三-Spring-Social社交登录过程中,我们已经实现了使用Spring Social+Security的QQ社交登录。 中的authorization_code模式的授权登录; 微信开放平台申请网站应用开发,获取appid和appsecret 熟读网站应用微信登录开发指南 参考Spring-Security源码分析三-Spring-Social
类不存在 解决方法: 不想引入1.5版本的springboot的话只能自己按照源码重写(复制粘贴) 官方Github也是这样写的:https://github.com/spring-projects/spring-social
-- spring-social相关,实现第三方登录用到的依赖 --> <dependency> <groupId>org.springframework.social
--spring-social 相关--> <dependency> <groupId>org.springframework.social</groupId> <artifactId>
Spring Social 相对还比较新颖,我并没有计划将它放入本书,但是你可以访问http://www.springsource.org/spring-social 了解Spring Social 更多的相关信息