1 Star 0 Fork 0

呙长伟/jfinal-shiro

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README

Empty file

About

最近发时间研究了shiro-core和shiro-spring的代码,整理了spring和shiro的集成思路,然后研究jfinal社区集成shiro的各种方式,各有特点。 集成原则: 1 沿用shiro自身的核心实现、竟可能少的代码去实现逻辑。 2 简单易用和易懂 分析原理: jfinal和shiro都是通过filter实现拦截,且shiro的拦截在jfinal之前。 shiro web通过Listener来加载ini配置到context中,然后filter通过init时通过context获得配置数据;可见在shiro和jfinal集成的时候,该部分不需要改造。 shiro注解:是通过注解到java方法上实现权限判断,与jfinal集成的时候,其实就是在所有的c... expand collapse
Java
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/guocw998/jfinal-shiro.git
git@gitee.com:guocw998/jfinal-shiro.git
guocw998
jfinal-shiro
jfinal-shiro
master

Search