Skip to content
ZeroOrInfinity edited this page May 14, 2021 · 5 revisions

JDKMavenMySQLRedisSpringBootSpringSecuritySpringSecuritySpringSociallicense

用户管理脚手架(github | gitee)集成:用户密码登录、手机登录、一键登录、支持 JustAuth 支持的所有第三方授权登录、验证码、基于 RBAC 的访问权限控制功能、JWT、SLF4J-MDC、签到等功能. 通过配置文件与实现 用户服务, 短信发送服务, 获取角色权限服务 三个 API 接口就可以实现上述功能,实现快速开发,只需要专注于业务逻辑.

User management scaffolding, integration: User password login, mobile login, one-click login, OAuth2 login(Based on JustAuth), jwt , validate code(image, sms, sliderCode), RBAC, SLF4J-MDC, sign etc...

ums-arch

一、UMS 功能列表(UMS feature list)

  • 验证码(图片,短信)校验功能(validate code (image, SMS) verification function)。
  • 手机登录功能,登录后自动注册(Mobile login function, automatic registration after login)。
  • 一键登录(one-click login)。
  • 第三方登录功能(qq,weibo,weixin,gitee),登录后自动注册(auto signUp),与用户账号绑定与解绑(binding and unbinding)。
  • 登录路由功能 (login routing)
  • 统一回调地址路由功能(Unified callback address routing function)。
  • 访问权限控制功能, 支持多租户(Access control function, support multi tenancy)。
  • 简化 session、remember me、crsf 等配置(Simplify session、remember me、srsf etc configuration)。
  • 根据设置的响应方式(JSON 与 REDIRECT)返回 json 或 html 数据。
  • 签到功能(sign)。
  • 支持基于 SLF4J MDC 机制的日志链路追踪功能。

模块功能

模块 功能
core 验证码/用户名密码登录/手机登录且自动注册/登录路由/访问权限控制/签到/简化HttpSecurity(session、remember me、crsf 等)配置/session redis 缓存/可配置的响应方式(JSON 与 REDIRECT)返回 json 或 html 数据
social 第三方登录功能(qq,weibo,weixin,gitee)/自动注册/绑定与解绑/统一回调地址路由
demo basic-example/basic-detail-example/permission-example/quickStart/session-detail-example/social-simple-example/social-detail-example/validate-codi-example

demo 演示功能

demo 演示功能
basic-example core 模块基本功能: 最简单的配置
basic-detail-example core 模块基本功能详细的配置: 含anonymous/session简单配置/rememberMe/csrf/登录路由/签到, 不包含session详细配置/验证码/手机登录/权限.
permission-example core 模块: 基于 RBAC 的权限功能设置
quickStart 快速开始示例
session-detail-example core 模块: session 与 session 缓存详细配置
social-simple-example social 模块基本功能: 简单的配置(第三方登录自动注册默认打开)
social-detail-example social 模块功能详细配置: 第三方授权登录注册功能, 统一回调地址路由配置, 第三方登录绑定配置, 第三方授权登录用户信息表自定义与 redis 缓存设置
validate-code-example core 模块基本功能: 验证码(含自定义滑块验证码), 手机登录配置