Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lzh_me
Sureness
提交
14ff1af1
Sureness
项目概览
lzh_me
/
Sureness
与 Fork 源项目一致
Fork自
sureness / Sureness
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Sureness
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
14ff1af1
编写于
8月 11, 2020
作者:
sinat_25235033
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify docs layout
上级
86df332b
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
6 addition
and
8 deletion
+6
-8
docs/custom-datasource.md
docs/custom-datasource.md
+2
-2
docs/en/README.md
docs/en/README.md
+2
-2
docs/en/custom-processor.md
docs/en/custom-processor.md
+1
-1
docs/en/extend-point.md
docs/en/extend-point.md
+1
-3
未找到文件。
docs/custom-datasource.md
浏览文件 @
14ff1af1
## 自定义数据源
实现
`PathTreeProvider`
的接口, 加载到
`DefaultPathRoleMatcher`
中
实现
`SurenessAccountProvider`
的接口,加载到需要的
`processor`
中
实现
`PathTreeProvider`
的接口, 加载到
`DefaultPathRoleMatcher`
中
.
实现
`SurenessAccountProvider`
的接口,加载到需要的
`processor`
中
.
具体扩展实践请参考
[
使用sureness30分钟搭建权限项目--sample-tom
](
https://github.com/tomsun28/sureness
)
docs/en/README.md
浏览文件 @
14ff1af1
...
...
@@ -6,7 +6,7 @@
## <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
...
...
docs/en/custom-processor.md
浏览文件 @
14ff1af1
## 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
)
docs/en/extend-point.md
浏览文件 @
14ff1af1
## 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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录