提交 14ff1af1 编写于 作者: sinat_25235033's avatar sinat_25235033

modify docs layout

上级 86df332b
## 自定义数据源
实现 `PathTreeProvider`的接口, 加载到`DefaultPathRoleMatcher`
实现 `SurenessAccountProvider`的接口,加载到需要的`processor`
实现 `PathTreeProvider`的接口, 加载到`DefaultPathRoleMatcher`.
实现 `SurenessAccountProvider`的接口,加载到需要的`processor`.
具体扩展实践请参考 [使用sureness30分钟搭建权限项目--sample-tom](https://github.com/tomsun28/sureness)
......@@ -6,10 +6,10 @@
## <font color="green">`Introduction`</font>
> Sureness is a new, permission project which author learn from apache shiro and add some ideas to create it
> Sureness is a new, permission project which we learn from apache shiro and add some ideas to create it
> Authentication for restful api, based on RBAC, Mainly focused on the protection of restful api
> Native supports restful api, websocket's protection
> Native supports dynamic permissions
> Native supports JWT, Basic Auth... Can extend custom supported authentication methods
> High performance due dictionary matching tree
> High performance due dictionary matching tree
> Sorry about google english.
\ No newline at end of file
## custom processor
`a subject also can support by different processor, so we can custom processor to support custom subject`
`implment Processor, set which subject can support and implment processing details`
`implment Processor, define which subject can support and implment processing details`
Detail please refer to [30 Minute Tutorial's Program--sample-tom](https://github.com/tomsun28/sureness/tree/master/sample-tom)
## Advanced Use
if know sureness Process flow, maybe know the extends point
if know sureness Process flow, maybe know the extends point.
sureness supports custom subject, custom subjectCreator, custom processor and more.
suggest look these interface before extending:
- `Subject`: Authenticated authorized user's account interface, provide the account's username,password, request resources, roles, etc.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册