1 Star 1 Fork 0

yupaits / docs-manage

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

DocsManage 之 实现基于OAuth2的认证授权和单点登录

分支

启动步骤

  1. 下载代码

    git clone https://github.com/YupaiTS/docs-manage.git
  2. 切换到 master 分支

  3. 创建数据库

    create database  `docs-oauth2` default charset utf8 collate utf8_general_ci;
  4. 执行 auth-serverdocs-servertest 包下的测试用例,向数据库插入测试数据

  5. 依次运行 discovery-serverauth-serverdocs-serverdocs-clientApplication 类的 main 方法启动服务

  6. 在浏览器中 http://localhost:11030/ui 进入客户端页面

MIT License Copyright (c) 2017 汤胜 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

文档管理系统,实现了SpringBoot生态主流的三种认证授权方案:1、基于OAuth2的认证授权和单点登录;2、基于Shiro和jwt实现认证授权;3、基于Spring Security和jwt实现认证授权。此项目不准备继续开发,建议关注 https://github.com/yupaits/yutool-samples/tree/master/auth-sample 获取相关更新内容。 展开 收起
Java
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/yupaits/docs-manage.git
git@gitee.com:yupaits/docs-manage.git
yupaits
docs-manage
docs-manage
master

搜索帮助