Skip to content

Commit

Permalink
remove Background in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsun28 committed Aug 18, 2020
1 parent e72ef82 commit cecb418
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,7 @@

**如果网站地址访问不了,请使用备用:** [http://tomsun28.gitee.io/sureness](http://tomsun28.gitee.io/sureness)

[English Documentation](README_EN.md)

## <font color="green">`Background`</font>

> 目前`java`主流的权限框架有`shiro,spring security`
> 下面对于它们的探讨都是个人浅薄之见,接受纠正
> `shiro`对于`restful api`原生支持不是太友好,需要改写一些代码,2年前一个项目就是改造`shiro`,使其在过滤链就能匹配不同的`rest`请求进行权限校验,项目传送门:[booshiro](https://gitee.com/tomsun28/bootshiro),之后给`shiro commit`几次`pr`,`fix`其在过滤链匹配时的危险漏洞,`PR`传送门:[SHIRO-682](https://github.com/apache/shiro/pull/127),总的来说`shiro`很强大但其起源并非面向`web`,对`restful`不是很友好
> `spring security`很强大,与`spring`深度集成,离开`spring`,比如`google`的精简`guice`,之前用过的`osgi`框架`karaf`就用不了了
> 它们都会在链式匹配这块,用请求的url和配置的链一个一个`ant`匹配(匹配过程中会有缓存等提高性能),但匹配的链过多时还是比较耗性能
> 所以写了一个权限包吸取上面的优秀设计,加一些我们的想法
[English Documentation](README_EN.md)

## <font color="green">`Introduction`</font>

Expand Down

0 comments on commit cecb418

Please sign in to comment.