# umbrella
**Repository Path**: sunyinhui/umbrella
## Basic Information
- **Project Name**: umbrella
- **Description**: 基于shiro、oauth2的前后端分离的鉴权、单点登录系统
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 2
- **Forks**: 3
- **Created**: 2019-03-22
- **Last Updated**: 2024-11-25
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
[](https://www.apache.org/licenses/LICENSE-2.0)
[](https://maven-badges.herokuapp.com/maven-central/org.t-io/tio-core)
# 基于Shiro和Oauth2的鉴权和单点登录的系统
## 项目演示地址
[http://umbrella.acxnn.com/](http://umbrella.acxnn.com/)
账号 y123456 密码123456
## 技术选型
* Spring Framework 4.3.7.RELEASE
* MyBatis
* Shiro
* Oauth2
* Redis
* Maven
## 它能做什么
* 更安全的实现单点登录
* 分布式系统下的统一会话管理
* 能够快速的接入到其他系统,代码入侵量少
* 动态的进行 资源-角色-账号 之前的授权和切换
* 增强受保护资源的安全性
## 如何在其他系统中集成
* **不需要进行多系统集中权限管理及分布式会话管理可以跳过这一节**
* 通过idea引入工程,用maven打包后引入你的工程中
```
umbrella
umbrella-client
1.0-SNAPSHOT
```
* 我们需要在web.xml中引入 `umbrella-client` 包的shiro的配置文件,让spring在初始化的时候加载我们的配置文件,让shiro初始化。同时添加shiro的过滤器配置。
```
contextConfigLocation
classpath*:/client/spring-shiro.xml
```
```
shiroFilter
org.springframework.web.filter.DelegatingFilterProxy
targetFilterLifecycle
true
shiroFilter
/*
```
## 写字最后
如果在使用过程中遇到问题可以发邮件至我的邮箱 2920131460@qq.com