Spring Security oauth2

时间:2021-07-18 10:35:10
【文件属性】:
文件名称:Spring Security oauth2
文件大小:199KB
文件格式:ZIP
更新时间:2021-07-18 10:35:10
oauth2 SpringBoot #OAuth2-Defender ##主要技术 Maven
Spring Boot
Spring Security
Spring Security OAuth2.0
MySQL
##修改数据库配置 修改defender-oauth2-authorization\src\main\resources\application.properties中MySQL的主机配置
修改defender-oauth2-resource\src\main\resources\application.properties中MySQL的主机配置
##初始化数据库 在MySQL客户端执行SQL脚本:
defender-oauth2-authorization\doc\schema.sql
defender-oauth2-authorization\doc\data.sql
##启动服务器 ###启动认证服务器 运行defender-oauth2-authorization模块下AuthorizationApplication类的main方法。
###启动资源服务器 运行defender-oauth2-resource模块下ResourceApplication类的main方法。
###启动客户端服务器 运行defender-oauth2-client模块下ClientApplication类的main方法。
##访问客户端主页面 在浏览器访问:localhost:8882/defender,测试5中不同授权模式。
##后期工作 支持缓存
添加Spring Security防御功能

网友评论