基于SpringBoot2.x、SpringCloud和SpringCloudAlibaba并采用前后端分离的企业级微服务多租户系统架构。并引入组件化的思想实现高内聚低耦合,项目代码简洁注释丰富上手容易,适合学习和企业中使用。真正实现了基于RBAC、jwt和oauth2的无状态统一权限认证的解决方案,面向互联网设计同时适合B端和C端用户,支持CI/CD多环境部署,并提供应用管理方便第三方系统接入;同时还集合各种微服务治理功能和监控功能。模块包括:企业级的认证系统、开发平台、应用监控、慢sql监控、统一日志、单点登录、Redis分布式高速缓存、配置中心、分布式任务调度、接口文档、代码生成等等。
Spring Security
truly implements a solution for stateless unified authority authentication based on RBAC
, jwt
and oauth2
Refactored from the open source project OCP&cp:https://gitee.com/owenwangwen/open-capacity-platform
central-platform -- parent project, public dependencies
│ ├─zlt-business -- Business module first-level engineering
│ │ ├─user-center -- User Center[7000]
│ │ ├─file-center -- document center[5000]
│ │ ├─code-generator -- Code generator[7300]
│ │ ├─search-center -- search Center
│ │ │ ├─search-client -- Search Center client
│ │ │ ├─search-server -- Search Center Server[7100]
│ │─zlt-commons -- General tool first-level engineering
│ │ ├─zlt-auth-client-spring-boot-starter -- Encapsulate the general operation logic of spring security client
│ │ ├─zlt-common-core -- Encapsulate common operation logic
│ │ ├─zlt-common-spring-boot-starter -- Encapsulate common operation logic
│ │ ├─zlt-db-spring-boot-starter -- Encapsulate the general operation logic of the database
│ │ ├─zlt-log-spring-boot-starter -- Encapsulate log general operation logic
│ │ ├─zlt-redis-spring-boot-starter -- Encapsulate Redis general operation logic
│ │ ├─zlt-loadbalancer-spring-boot-starter -- Encapsulate the general operation logic of Loadbalancer and Feign
│ │ ├─zlt-sentinel-spring-boot-starter -- Encapsulate Sentinel's general operation logic
│ │ ├─zlt-swagger2-spring-boot-starter -- Encapsulate Swagger general operation logic
│ │ ├─zlt-elasticsearch-spring-boot-starter -- Encapsulate Elasticsearch general operation logic
│ │ ├─zlt-oss-spring-boot-starter -- Encapsulate object storage general operation logic
│ │ ├─zlt-zookeeper-spring-boot-starter -- Encapsulate Zookeeper general operation logic
│ ├─zlt-config -- configuration center
│ ├─zlt-doc -- project documentation
│ ├─zlt-gateway -- api gateway first level engineering
│ │ ├─sc-gateway -- spring-cloud-gateway[9900]
│ ├─zlt-monitor -- Monitor first-class engineering
│ │ ├─sc-admin -- application monitoring[6500]
│ │ ├─log-center -- log center[7200]
│ ├─zlt-uaa -- spring-security authentication center[8000]
│ ├─zlt-register -- Registration Center Nacos[8848]
│ ├─zlt-web -- Front-end first-level engineering
│ │ ├─layui-web -- layui frontend[8066]
│ │ ├─react-web -- react front end[8066]
│ ├─zlt-demo -- demo level one project
│ │ ├─txlcn-demo -- txlcn distributed transaction demo
│ │ ├─seata-demo -- seata distributed transaction demo
│ │ ├─sharding-jdbc-demo -- sharding-jdbc database sub-table demo
│ │ ├─rocketmq-demo -- rocketmq and mq transaction demo
│ │ ├─sso-demo -- single sign-on demo
ISSUS
, please write clearly the specific reason of the problem, reproduction steps and environment (context)