All Projects → liumapp → spring-security-mybatis-demo

liumapp / spring-security-mybatis-demo

Licence: Apache-2.0 License
A simple demo for Spring Security with Mybatis .

Programming Languages

java
68154 projects - #9 most used programming language
PLpgSQL
1095 projects

Projects that are alternatives of or similar to spring-security-mybatis-demo

Webpersonal
WebPersonal 是基于 Spring Boot + Vue Admin Template 搭建的个人网站,采用Docker容器化部署。包括个人简历、权限管理、相册等功能,持续更新,您的 Star⭐,就是我最大的动力(●'◡'●)
Stars: ✭ 28 (-41.67%)
Mutual labels:  spring-security, springboot, mybatis
Api Boot
“ ApiBoot”是为接口服务而生的,基于“ SpringBoot”完成扩展和自动配置,内部封装了一系列的开箱即用Starters。
Stars: ✭ 460 (+858.33%)
Mutual labels:  spring-security, springboot, mybatis
Spring Boot In Action
Spring Boot 系列实战合集
Stars: ✭ 4,153 (+8552.08%)
Mutual labels:  spring-security, springboot, mybatis
Mall
mall项目是一套电商系统,包括前台商城系统及后台管理系统,基于SpringBoot+MyBatis实现,采用Docker容器化部署。 前台商城系统包含首页门户、商品推荐、商品搜索、商品展示、购物车、订单流程、会员中心、客户服务、帮助中心等模块。 后台管理系统包含商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等模块。
Stars: ✭ 54,797 (+114060.42%)
Mutual labels:  spring-security, springboot, mybatis
Java-CS-Record
记录准备春招实习过程中,学习与复习的知识(模块化整理,非面试题速成)。注:暂停更新,后续请移步博客
Stars: ✭ 73 (+52.08%)
Mutual labels:  springboot, mybatis
vm-engine
vm-engine为“微视频”网站的后端,java语言开发。涉及技术包括,springboot,springcloud,mybaties,docker,websocket,rabbitmq,redis等。
Stars: ✭ 57 (+18.75%)
Mutual labels:  springboot, mybatis
creek
使用Spring Security + JWT Token + RBAC的方式实现认证和授权,持久层使用Mybatis plus。避免每次重复编写认证和授权功能、角色管理、异常处理、参数校验等代码,直接上手业务代码,不再烦恼于构建项目与风格统一。
Stars: ✭ 21 (-56.25%)
Mutual labels:  spring-security, springboot
springboot-chapter
🚀Spring Boot 2.0基础教程。主流框架整合,实践学习案例。
Stars: ✭ 23 (-52.08%)
Mutual labels:  springboot, mybatis
Goku.Framework.CoreUI
基于 SpringBoot + Spring + SpringMvc+Mybatis+CoreUI +Layui 开发后台管理程序
Stars: ✭ 87 (+81.25%)
Mutual labels:  springboot, mybatis
coupons
淘宝客项目,支持App,微信小程序,QQ小程序
Stars: ✭ 392 (+716.67%)
Mutual labels:  springboot, mybatis
springboot
🌿 springboot 分析与学习 & 入门示例 & 图文教程,本 Spring Boot 系列文章基于 Spring Boot 版本 v2.x 进行学习分析。 所有项目示例都有对应的文章介绍,可以直接点击 https://www.wdbyte.com 阅读。
Stars: ✭ 104 (+116.67%)
Mutual labels:  springboot, mybatis
SSM Maneger DEMO
⚡️基于 SSM的后台管理系统DEMO 使用SpringMVC+Spring+Mybatis以及maven的后台管理系统. 程序的结构分为表现层(Controller)、业务层(Service)、数据层(Dao),包括权限授权、分页查询、日志记录,订单及产品查询,授权管理等功能
Stars: ✭ 41 (-14.58%)
Mutual labels:  spring-security, mybatis
itstack-naive-chat-server
💞 《服务端》| 服务端同样使用Netty4.x作为socket的通信框架,同时在服务端使用Layui作为管理后台的页面,并且我们的服务端采用偏向于DDD领域驱动设计的方式与Netty集合,以此来达到我们的框架结构整洁干净易于扩展。同时我们的通信协议也是在服务端进行定义的,并对外提供可引入的Jar包,这样来保证客户端与服务端共同协议下进行通信。
Stars: ✭ 21 (-56.25%)
Mutual labels:  springboot, mybatis
shik
shik项目基于springcloud微服务搭建的分布式项目。搭建了shik-config云公共配置,通过shik-RA服务注册发现各个模块,通过shik-zuul路由转发与统一接口。并整合了包括mybatis,jpa,jedis,quartz,freemarker和layui等多个模块,支持spring-session二级域名共享session,使用了RESTful方式提供api接口
Stars: ✭ 89 (+85.42%)
Mutual labels:  springboot, mybatis
NBlog
🍓 Spring Boot + Vue 前后端分离博客系统 https://naccl.top
Stars: ✭ 700 (+1358.33%)
Mutual labels:  springboot, mybatis
demo springboot with mybatis
No description or website provided.
Stars: ✭ 17 (-64.58%)
Mutual labels:  springboot, mybatis
seckill parent
基于springboot+springcloud的高并发和商品秒杀项目,通过redis,rabbitmq等技术实现秒杀的高并发。
Stars: ✭ 59 (+22.92%)
Mutual labels:  springboot, mybatis
MarketServer
基于Springboot + Mybatis框架实现的一个简易的商场购物系统后端。该有的基础功能它都有!
Stars: ✭ 26 (-45.83%)
Mutual labels:  springboot, mybatis
NeusoftCloudHospital
东软云医院。爱与健康,连接你我。🏥
Stars: ✭ 37 (-22.92%)
Mutual labels:  springboot, mybatis
SpringBootIntegration
SpringBoot集成学习项目 SpringBoot Integration
Stars: ✭ 20 (-58.33%)
Mutual labels:  springboot, mybatis

spring-security-mybatis-demo

A simple demo for Spring Security with Mybatis .

er-map

中文文档

how to use

First off all , plz start the project .

We view users are personal user and company user .

personal user

We use phone number to verify personal user , and the auth path is auth/personal , the refresh path is refresh/personal .

auth

personal user get their token by phone and password , like the pic below :

personal_login

after login success , personal user will get the role as 'PERSONAL'.

use

First of all , you need set Authorization in request header , which's value is : "Bearer " + ${token} . (plz pay attention to the blank space)

They can only do the things which under 'PERSONAL' role's permission .

like :

personal_coming

company user

Here we get our big user .

For Company User , we make three types Role : BOSS , MANAGER and EMPLOYEE . (Of cause , you can add any roles else if you like )

Company User can create sub-accounts which is no limited in numbers , and choice appropriate roles for thire sub-accounts .

auth

Every types of company user's account get their token by : auth/company.

simply like :

get_boss_token

or a manager :

manager_login

use

First of all , you need set Authorization in request header , which's value is : "Bearer " + ${token} . (plz pay attention to the blank space)

Now it is very simple to use .

  • A boss role account can get the boss greeting by :

boss_coming

  • A manager role account can get the manager greeting by :

mager_coming

  • But a manager can not get boss's greeting , because boss greeting path ask for boss's permission :

mager_want_boss_greeting

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