XXL-SSO单点登录详解
参考:https://blog.csdn.net/qq_29860591/article/details/1075034741、下载项目:https://gitee.com/xuxueli0323/xxl-sso?_from=gitee_search2、项目架构:3、配置hosts文件服务器127.0.0.1 ssoserver.com127.0.0.1 client1.com127.0.0.1
·
参考:https://blog.csdn.net/qq_29860591/article/details/107503474
基本流程:
1、下载项目:
https://gitee.com/xuxueli0323/xxl-sso?_from=gitee_search
2、项目架构:
3、配置hosts文件服务器
127.0.0.1 ssoserver.com
127.0.0.1 client1.com
127.0.0.1 client2.com
4、修改xxl-sso-server模块并启动
访问路径:http://ssoserver.com:8080
显示:
5、修改xxl-sso-web-sample-springboot模块并启动
访问地址:http://client1.com:8081
如果没有登录,会跳转到http://ssoserver.com:8080
登录成功显示:
复制 XxlClient1Application 生成 XxlClient2Application,填入如下信息,启动
访问地址:http://client2.com:8181
如果没有登录,会跳转到http://ssoserver.com:8080
更多推荐
已为社区贡献3条内容
所有评论(0)