All Projects → wayn111 → waynboot-sso

wayn111 / waynboot-sso

Licence: Apache-2.0 license
基于SpringBoot,Shiro,Redis,Mybatis,SSO的多模块系统,包含了SSO单点登陆, 通用后台管理,NewBee-mall商城,每日一文等多个模块,支持Shiro与SSO模块的集成,易于上手,学习,二次开发。

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to waynboot-sso

Hope Boot
🌱 Hope-Boot 一款现代化的脚手架项目
Stars: ✭ 3,241 (+9721.21%)
Mutual labels:  thymeleaf, sso, mybatis, shiro
vacomall
☀️☀️ 基于 dubbo 实现的分布式电商平台。
Stars: ✭ 42 (+27.27%)
Mutual labels:  sso, mybatis, shiro
Autumn
Autumn-Blog and Autumn-CMS
Stars: ✭ 101 (+206.06%)
Mutual labels:  thymeleaf, mybatis, shiro
springboot-learning-demo
springboot学习示例
Stars: ✭ 17 (-48.48%)
Mutual labels:  thymeleaf, mybatis, shiro
Jeeplatform
一款企业信息化开发基础平台,拟集成OA(办公自动化)、CMS(内容管理系统)等企业系统的通用业务功能 JeePlatform项目是一款以SpringBoot为核心框架,集ORM框架Mybatis,Web层框架SpringMVC和多种开源组件框架而成的一款通用基础平台,代码已经捐赠给开源中国社区
Stars: ✭ 1,285 (+3793.94%)
Mutual labels:  thymeleaf, mybatis, shiro
Blog
基于SpringBoot+Thymeleaf+Mybatis+LayUi+Lucene的粗糙个人博客
Stars: ✭ 95 (+187.88%)
Mutual labels:  thymeleaf, mybatis, shiro
Ruoyi Oracle
(RuoYi)官方仓库 基于SpringBoot的权限管理系统 易读易懂、界面简洁美观。 核心技术采用Spring、MyBatis、Shiro没有任何其它重度依赖。直接运行即可用
Stars: ✭ 134 (+306.06%)
Mutual labels:  thymeleaf, mybatis, shiro
RuoYi-fast
🎉 (RuoYi)官方仓库 基于SpringBoot的权限管理系统 易读易懂、界面简洁美观。 核心技术采用Spring、MyBatis、Shiro没有任何其它重度依赖。直接运行即可用
Stars: ✭ 117 (+254.55%)
Mutual labels:  thymeleaf, mybatis, shiro
SpringbootCRM
SpringbootCRM,后台管理模板,抽空持续完善(Github授权登录,微信测试号扫码登录)...
Stars: ✭ 37 (+12.12%)
Mutual labels:  thymeleaf, mybatis, shiro
Springboot Learn
🌹springboot常用框架整合示例,涉及多种网站监控,数据缓存,网络通信,持久层,权限管理,常用工具等
Stars: ✭ 270 (+718.18%)
Mutual labels:  thymeleaf, mybatis, shiro
Newbee Mall
🔥 🎉newbee-mall 项目(新蜂商城)是一套电商系统,包括 newbee-mall 商城系统及 newbee-mall-admin 商城后台管理系统,基于 Spring Boot 2.X 及相关技术栈开发。 前台商城系统包含首页门户、商品分类、新品上线、首页轮播、商品推荐、商品搜索、商品展示、购物车、订单结算、订单流程、个人订单管理、会员中心、帮助中心等模块。 后台管理系统包含数据面板、轮播图管理、商品管理、订单管理、会员管理、分类管理、设置等模块。
Stars: ✭ 8,319 (+25109.09%)
Mutual labels:  thymeleaf, mybatis, mall
Taoshop
开源电子商务项目,SpringBoot+Dubbo技术栈实现微服务,实现一款分布式集群的电商系统. 项目releases链接:https://github.com/u014427391/taoshop/releases (开发中...)
Stars: ✭ 491 (+1387.88%)
Mutual labels:  thymeleaf, sso, mybatis
Ruoyi
(RuoYi)官方仓库 基于SpringBoot的权限管理系统 易读易懂、界面简洁美观。 核心技术采用Spring、MyBatis、Shiro没有任何其它重度依赖。直接运行即可用
Stars: ✭ 905 (+2642.42%)
Mutual labels:  thymeleaf, mybatis, shiro
Mybatis Spring Boot Jpetstore
A sample web application built on MyBatis 3, Spring Boot and Thymeleaf 3.
Stars: ✭ 75 (+127.27%)
Mutual labels:  thymeleaf, mybatis
Maintain
springboot + springmvc +Spring Security + mybatis + PageHelper(Mybatis分页插件) + druid + (maven/gradle) + thymeleaf + bootstrap 组成的框架,基于Jersey, Swagger,SwaggerUi的restful API
Stars: ✭ 74 (+124.24%)
Mutual labels:  thymeleaf, mybatis
Eams
高校学生评优评奖系统
Stars: ✭ 106 (+221.21%)
Mutual labels:  thymeleaf, shiro
springboot-action
Spring Boot 入门学习示例。
Stars: ✭ 29 (-12.12%)
Mutual labels:  thymeleaf, mybatis
Spring Boot Study
about learning Spring Boot via examples. 基于 spring boot 2.x 的学习教程简洁易懂
Stars: ✭ 131 (+296.97%)
Mutual labels:  thymeleaf, shiro
Blog
SpringBoot + Mybatis + thymeleaf 搭建的个人博客 http://www.54tianzhisheng.cn/
Stars: ✭ 1,156 (+3403.03%)
Mutual labels:  thymeleaf, mybatis
Nimrod
Nimrod - 基于 Spring Boot 构建 的 Java Web 平台企业级单体应用快速开发框架,适合中小型项目的应用和开发。所采用的技术栈包括 Spring Boot、Spring、Spring Web MVC、MyBatis、Thymeleaf 等,遵守阿里巴巴 Java 开发规约,帮助养成良好的编码习惯。整体采用 RBAC ( Role-Based Access Control ,基于角色的访问控制),具有严格的权限控制模块,支持系统与模块分离开发。最后希望这个项目能够对你有所帮助。Nimrod 开发交流群:547252502(QQ 群)
Stars: ✭ 125 (+278.79%)
Mutual labels:  thymeleaf, mybatis

waynboot-sso

项目介绍

基于SpringBoot,Shiro,Redis,Mybatis plus的多模块系统,实现了SSO单点登陆。 集成通用后台管理,新蜂商城,每日一文等多个模块,支持Shiro与SSO模块的集成,易于上手,学习,二次开发。

主要特性

  • 项目按系统模块化,提升开发,测试效率
  • 提供SSO模块,方便各个系统集成实现单点登录登出
  • admin模块支持Shiro + SSO使用
  • 新蜂商城包含前台和后端,后台系统支持SSO使用
  • 使用hessian作为各系统间rpc通信
  • 使用Mybatis-Plus作为数据层框架,代码简介高效
  • 页面模板使用thymeleaf,配置灵活
  • js代码简洁,清晰,避免过度封装
  • 支持统一输出异常,避免繁琐的判断

技术选型

  1. 后端
    • 核心框架:SpringBoot
    • 持久层框架:Mybatis-Plus
    • 权限控制:admin模块 -> Shiro
    • 日志管理:SLF4J > logback
    • NoSql: redis
    • Rpc: hessian
  2. 前端
    • 模板选型:Thymeleaf
    • JS框架:jQuery,vue
    • 数据表格:bootstrapTable,jqGrid
    • 弹出层:layer,bootstrap-modal
    • 通知消息:Toastr
    • 树结构控件:jsTree
  3. 开发平台
    • JDK版本:1.8+
    • Maven:3.5+
    • 数据库:mysql5.7+
    • ide:Eclipse/Idea

使用教程

  1. 环境需要
    jdk1.8+、mysql8.0+、redis3.0+、idea或者eclipse
  2. 导入sql文件
    创建waynboot-sso数据库,将wayn-admin模块下wayn-admin.sql导入 创建newbee_mall_db数据库,将wayn-mall模块下newbee_mall_db.sql导入
  3. 启动顺序
    1. 必须先启动wayn-ssoserver模块下主启动类WaynSsoApplication(单点登陆服务)
    2. 启动wayn-admin模块主启动类,打开浏览器访问http://localhost
    3. 启动wayn-admin模块主启动类,打开浏览器访问http://localhost:84/mall

新模块接入步骤

  1. pom文件引入sso-core依赖
        <dependency>
            <groupId>com.wayn</groupId>
            <artifactId>wayn-ssocore</artifactId>
            <version>0.0.1-SNAPSHOT</version>
        </dependency>
  1. 在yml文件配置sso服务地址
wayn:
  uploadDir: E:/wayn/upload  # 上传路劲
  ssoServerUrl: http://127.0.0.1:82/ssoserver # sso服务访问路径
  currentServerUrl: http://127.0.0.1:83/others # 当前项目访问路径
  xssFilter: # 过滤器忽略路径
    excludeUrls: /**/*.js,/**/*.css,/favicon.ico,/fonts/*,/plugin/*
  1. 添加Springboot web配置
@Configuration
public class WebConfig implements WebMvcConfigurer {

    @Value("${wayn.ssoServerUrl}")
    private String ssoServerUrl;

    @Value("${wayn.xssFilter.excludeUrls}")
    private String excludeUrls;

    @Bean
    public FilterRegistrationBean<SsoFilter> filterRegistrationBean() {
        FilterRegistrationBean<SsoFilter> bean = new FilterRegistrationBean<>();
        SsoFilter ssoFilter = new SsoFilter();
        ssoFilter.setSsoServerUrl(ssoServerUrl);
        bean.setFilter(ssoFilter);
        bean.setDispatcherTypes(DispatcherType.REQUEST);
        bean.setName("ssoFilter");
        bean.setUrlPatterns(Collections.singletonList("/*"));
        LinkedHashMap<String, String> linkedHashMap = new LinkedHashMap<>();
        linkedHashMap.put("excludeUrls", excludeUrls);
        bean.setInitParameters(linkedHashMap);
        return bean;
    }

    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate(new HttpsClientRequestFactory());
    }
    ...
}

内置模块

  1. wayn-admin

    后台权限管理系统

  2. wayn-cmomon

    后台权限系统的通用类聚集模块

  3. wayn-framework

    后台权限系统的核心配置模块,包含shiro,数据源等配置

  4. wayn-mall

    newbee-mall商城系统,包含前后端系统

  5. wayn-others

    集成framework的爬虫模块,包含每日一文

  6. wayn-ssocore

    sso单点登录的核心模块

  7. wayn-ssoserver

    sso单点登录系统,供其他系统集成使用

单点登陆流程

登陆 sso登陆 登出 sso登出

获取源码

参考项目

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].