All Projects → jeesun → Oauthserver

jeesun / Oauthserver

Licence: apache-2.0
快速实现Spring Boot Oauth2授权服务,保护你的应用资源。

Projects that are alternatives of or similar to Oauthserver

Vue Admin Html
Vue-cli3.0 + Element UI + Spring Boot2.0 + ThinkPHP5.1 + 响应式的后台管理系统 https://lmxdawn.github.io/vue-admin
Stars: ✭ 436 (+83.19%)
Mutual labels:  spring-boot, element-ui
Quickperf
QuickPerf is a testing library for Java to quickly evaluate and improve some performance-related properties
Stars: ✭ 231 (-2.94%)
Mutual labels:  jdbc, spring-boot
Shirojwt
API SpringBoot + Shiro + Java-Jwt + Redis(Jedis)
Stars: ✭ 503 (+111.34%)
Mutual labels:  spring-boot, element-ui
Db Scheduler
Persistent cluster-friendly scheduler for Java
Stars: ✭ 352 (+47.9%)
Mutual labels:  jdbc, spring-boot
Nutz Onekey
NUTZ一键脚手架
Stars: ✭ 92 (-61.34%)
Mutual labels:  spring-boot, element-ui
His
HIS英文全称 hospital information system(医院信息系统http://59.110.234.89:9999/swagger-ui.html ),医疗信息就诊系统,系统主要功能按照数据流量、流向及处理过程分为临床诊疗、药品管理、财务管理、患者管理。诊疗活动由各工作站配合完成,并将临床信息进行整理、处理、汇总、统计、分析等。本系统包括以下工作站:门诊医生工作站、药房医生工作站、医技医生工作站、收费员工作站、对帐员工作站、管理员工作站。需求为东软提供的云医院。
Stars: ✭ 359 (+50.84%)
Mutual labels:  spring-boot, element-ui
Hibernate Springboot
Collection of best practices for Java persistence performance in Spring Boot applications
Stars: ✭ 589 (+147.48%)
Mutual labels:  jdbc, spring-boot
Spring Boot Data Source Decorator
Spring Boot integration with p6spy, datasource-proxy, flexy-pool and spring-cloud-sleuth
Stars: ✭ 295 (+23.95%)
Mutual labels:  jdbc, spring-boot
Jplusone
Tool for automatic detection and asserting "N+1 SELECT problem" occurences in JPA based Spring Boot Java applications and finding origin of JPA issued SQL statements in general
Stars: ✭ 91 (-61.76%)
Mutual labels:  jdbc, spring-boot
Vue Admin Beautiful
🚀🚀🚀vue3 admin,vue3.0 admin,vue后台管理,vue-admin,vue3.0-admin,admin,vue-admin,vue-element-admin,ant-design,vue-admin-beautiful-pro,vab admin pro,vab admin plus主线版本基于element-plus、element-ui、ant-design-vue三者并行开发维护,同时支持电脑,手机,平板,切换分支查看不同的vue版本,element-plus版本已发布(vue3,vue3.0,vue,vue3.x,vue.js)
Stars: ✭ 10,968 (+4508.4%)
Mutual labels:  spring-boot, element-ui
Dokit
基于 Spring Boot2、 Jpa、 Spring Security、JWT、redis、Vue的前后端分离的后台管理系统开发平台, 用户管理、菜单管理、角色管理、字典管理、权限控制的方式为RBAC,操作日志、异常日志、接口限流、项目支持数据权限管理,支持一键生成前后端代码(支持在线预览及打包下载),支持前端菜单动态路由 可一键部署服务器应用,数据库。系统中活跃用户状态监控,监视当前系统CPU、内存、磁盘、堆栈等相关信息,基于Element UI在线表单设计及生成Vue代码。
Stars: ✭ 348 (+46.22%)
Mutual labels:  spring-boot, element-ui
Poli
An easy-to-use BI server built for SQL lovers. Power data analysis in SQL and gain faster business insights.
Stars: ✭ 1,850 (+677.31%)
Mutual labels:  jdbc, spring-boot
Youlai Mall
youlai-mall 是基于Spring Boot 2.4、Spring Cloud 2020 & Alibaba、Vue、element-ui、uni-app快速构建的一套全栈开源商城平台,包括系统权限管理、微服务应用、微信小程序及APP应用
Stars: ✭ 331 (+39.08%)
Mutual labels:  spring-boot, element-ui
Watchdog Framework
🍻 「停止维护」基于SpringBoot+Shiro+Mybatis等开发的轻量级管理系统快速开发脚手架
Stars: ✭ 421 (+76.89%)
Mutual labels:  jdbc, spring-boot
Java Spring Cloud
Distributed tracing for Spring Boot, Cloud and other Spring projects
Stars: ✭ 326 (+36.97%)
Mutual labels:  jdbc, spring-boot
Mogu blog v2
蘑菇博客(MoguBlog),一个基于微服务架构的前后端分离博客系统。Web端使用Vue + Element , 移动端使用uniapp和ColorUI。后端使用Spring cloud + Spring boot + mybatis-plus进行开发,使用 Jwt + Spring Security做登录验证和权限校验,使用ElasticSearch和Solr作为全文检索服务,使用Github Actions完成博客的持续集成,使用ELK收集博客日志,文件支持上传七牛云和Minio,支持Docker Compose脚本一键部署。
Stars: ✭ 561 (+135.71%)
Mutual labels:  spring-boot, element-ui
Eladmin
项目基于 Spring Boot 2.1.0 、 Jpa、 Spring Security、redis、Vue的前后端分离的后台管理系统,项目采用分模块开发方式, 权限控制采用 RBAC,支持数据字典与数据权限管理,支持一键生成前后端代码,支持动态路由
Stars: ✭ 16,943 (+7018.91%)
Mutual labels:  spring-boot, element-ui
Sqlhelper
SQL Tools ( Dialect, Pagination, DDL dump, UrlParser, SqlStatementParser, WallFilter, BatchExecutor for Test) based Java. it is easy to integration into any ORM frameworks
Stars: ✭ 242 (+1.68%)
Mutual labels:  jdbc, spring-boot
Log4jdbc Spring Boot Starter
Starter for using Log4jdbc with Spring Boot
Stars: ✭ 49 (-79.41%)
Mutual labels:  jdbc, spring-boot
Sk Admin
基于 Spring Boot、 Spring Data JPA、 Spring Security、Vue 的前后端分离的管理系统。项目采用模块开发方式, 主要模块:权限管理 (RBAC(Role-Based Access Control,基于角色的访问控制),支持数据字典、数据权限管理、前端菜单支持动态路由)、日志管理、代码生成器、系统监控、云存储管理、系统工具等等
Stars: ✭ 130 (-45.38%)
Mutual labels:  spring-boot, element-ui

oauthserver

国内用户可访问gitee,代码和github同步。

简介

oauthserver是一个基于Spring Boot Oauth2的完整的独立的Oauth2 Server微服务。项目的目的是,仅仅需要创建相关数据表,修改数据库的连接信息,你就可以得到一个Oauth2 Server微服务。
为了开发方便,项目拆分成6个模块,eureka-server、oauth、common、api、web、old-task:

  1. eureka-server是eureka服务模块;
  2. oauth是Authentication Server模块,用于给其他模块(主要是提供api接口的模块)授权。
  3. common是公共工具模块,包括了Service和Model层,目前api、web、old-task都依赖该模块。
  4. api模块是提供api接口的服务;
  5. web是一个基于Element UI的管理后台;
  6. old-task是Quartz分布式定时任务模块,支持集群。

支持的关系型数据库:

  • MySQL
  • Oracle
  • PostgreSQL
  • Microsoft SQL Server

功能概览

api

  1. Oauth token服务,支持3种登录方式:手机号+验证码、手机号+密码、邮箱+密码(使用流程参考oauth接口调用示例,如果你需要使用短信验证码服务,请前往阿里大于和云之讯短信服务购买短信验证码服务,并在application.properties中配置相关参数);
  2. 短信验证码服务,支持三种:阿里大于、腾讯云短信服务、云之讯短信服务;
  3. 微信、支付宝支付;
  4. 七牛云存储;
  5. 代码生成器。

common

公共工具类模块

web

  1. 主页
    1. 了解OauthServer
    2. 新闻管理
    3. 订单管理
  2. 系统管理
    1. 定时任务
    2. 菜单管理
    3. 用户管理
    4. 权限管理
    5. 数据字典
  3. 系统工具
    1. 代码生成
    2. swagger
    3. druid
    4. 日志管理

更新日志

2.0.20190909-alpha

  1. 从api模块移除oauth授权代码,仅保留controller层代码;
  2. 从api模块移除的oauth授权代码,独立成oauth模块,作为授权服务器,给api模块提供授权服务。

2.0.20190904-alpha

  1. 新增eureka-server模块;
  2. 删除一些重复依赖;
  3. 更新Dockerfile。

2.0.20190805-alpha

  1. 支持SQL Server。

2.0.20190802-alpha

  1. 代码生成器支持sql server;
  2. service通用实现,减少大量冗余serviceImpl代码。

更多历史更新日志查看CHANGE_LOG.md

使用流程

准备

IntelliJ IDEA或Eclipse请先安装lombok插件。

1. 安装jar

有部分自建jar在中央仓库是没有的,需要使用mvn install安装到本地。执行“需要安装的jars”文件夹下的install.bat安装。

2. 建表

注意:数据库都要忽略大小写。 所有SQL文件都在“SQL初始化”目录下。

  • MySQL
    请执行schema-mysql.sql,完成数据表的创建和测试数据的导入。之后,请执行相应的增量更新SQL。
  • Oracle
    请执行schema-oracle.sql,完成数据表的创建和测试数据的导入。之后,请执行相应的增量更新SQL。
  • PostgreSQL
    请执行schema-postgresql.sql,完成数据表的创建和测试数据的导入。之后,请执行相应的增量更新SQL。
  • SQL Server
    请执行schema-sqlserver.sql,完成数据表的创建和测试数据的导入。之后,请执行相应的增量更新SQL。

3. 修改数据库连接信息

  • MySQL
    连接信息在application-mysql.yml里。修改完数据库连接信息后,还需要设置application-common.ymlspring.profiles.active=mysql
  • Oracle
    连接信息在application-oracle.yml里。修改完数据库连接信息后,还需要设置application-common.ymlspring.profiles.active=oracle
  • PostgreSQL
    连接信息在application-pg.yml里。修改完数据库连接信息后,还需要设置application-common.ymlspring.profiles.active=pg
  • Microsoft SQL Server
    连接信息在application-sqlserver.yml里。修改完数据库连接信息后,还需要设置application-common.ymlspring.profiles.active=sqlserver

4. 运行

优先启动eureka-server,然后启动oauth授权模块,其他模块没有固定的启动顺序。但是如果你需要使用到web模块的定时任务功能,需要优先启动old-task模块。

api测试

oauth接口调用示例

管理端页面

测试账号:手机号18800000000,密码1234567890c 登录页

管理端主页

分享交流

在使用过程中有任何疑问或者问题,请提交issue,我会在收到的第一时间予以回复。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].