一、 概览 - ZeroOrInfinity/UMS GitHub Wiki
UMS is a non-intrusive, highly decoupled from business, customizable user management scaffolding
User management scaffolding, integration: User password login, mobile login, OAuth2 login(Based on JustAuth), one click login, Support multi-tenancy, jwt , validate code(image, sms, sliderCode), RBAC, SLF4J-MDC, signed etc...
- validate code(image, SMS, slider) verification function.
- Mobile login function, automatic registration after login, Support multi-tenancy.
- Support all third-party authorized logins supported by JustAuth, after login, automatically register or bind or create temporary users(TemporaryUser).
- Support timing refresh accessToken, support distributed timing tasks.
- Support the caching function of user table and token table by OAuth2 login.
- Support third-party binding and unbinding and query interfaces.
- one click login.
- Access control function, support multi tenancy.
- Simplify session、remember me、csrf cors etc configuration.
- Return json or html data according to the set response method (JSON and REDIRECT).
- signed function.
- Support log link tracking function based on SLF4J MDC mechanism.
- JWT creation, verification, refresh, concurrent access problems caused by jwt invalid, and blacklist functions.
Module | Function |
---|---|
commons | common component module |
ums | Integrated commons/core/vc/mdc/oauth/rbac/jwt module |
core | Username password login/Mobile login and automatic registration/signed/Simplify session、remember me、csrf cors etc configuration/session redis cache/Return json or html data according to the set response method (JSON and REDIRECT)/JWT/mdc model |
vc | validate code(image, SMS, slider) verification function, integrated mdc model |
mdc | Support log link tracking function based on SLF4J MDC mechanism |
oauth | OAuth2 login by JustAuth, one-click login, integrated jwt/mdc model |
rbac | RBAC-based access control, supports multi-tenancy, integrated mdc model |
jwt | JWT function, integrated mdc model |
dependencies | UMS Dependencies |
demo | basic-example/basic-detail-example/permission-example/quickStart/session-detail-example/validate-codi-example/justAuth-security-oauth2-example/tenant-example/jwt-example |
demo | demo function |
---|---|
basic-example | Basic function: the simplest configuration/one-click login |
basic-detail-example | Detailed configuration of basic functions: anonymous/session simple configuration/rememberMe/csrf/cors/login routing/signed |
permission-example | RBAC-based permission function settings |
quickStart | quick start example |
multi-tenancy-example | multi tenant registration and login example |
justAuth-security-oauth2-example | Detailed example of third-party authorized login, MDC log link tracking configuration |
session-detail-example | Session and session cache detailed configuration |
validate-code-example | Basic functions: verification code (including slider verification code), mobile login configuration |
jwt-example | JWT function example |