Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
sureness
Sureness
提交
cf2e762f
Sureness
项目概览
sureness
/
Sureness
9 个月 前同步成功
通知
32
Star
813
Fork
161
代码
文件
提交
分支
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,体验更适合开发者的 AI 搜索 >>
提交
cf2e762f
编写于
9月 07, 2021
作者:
sinat_25235033
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
change version 1.0.4 to 1.0.5
上级
4014faef
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
27 addition
and
22 deletion
+27
-22
README.md
README.md
+3
-3
README_CN.md
README_CN.md
+3
-3
core/pom.xml
core/pom.xml
+2
-2
core/src/main/java/com/usthe/sureness/matcher/util/TirePathTree.java
...in/java/com/usthe/sureness/matcher/util/TirePathTree.java
+9
-4
home/docs/introduce.md
home/docs/introduce.md
+1
-1
home/docs/start/quickstart.md
home/docs/start/quickstart.md
+2
-2
home/i18n/zh-cn/docusaurus-plugin-content-docs/current/introduce.md
...zh-cn/docusaurus-plugin-content-docs/current/introduce.md
+1
-1
home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/quickstart.md
...ocusaurus-plugin-content-docs/current/start/quickstart.md
+2
-2
home/src/constants.js
home/src/constants.js
+1
-1
home/src/pages/index.js
home/src/pages/index.js
+1
-1
pom.xml
pom.xml
+1
-1
support/spring-boot-starter-sureness/pom.xml
support/spring-boot-starter-sureness/pom.xml
+1
-1
未找到文件。
README.md
浏览文件 @
cf2e762f
...
...
@@ -9,7 +9,7 @@
> A simple and efficient jvm security framework that focus on the protection of REST API.
[
![License
](
https://img.shields.io/badge/license-Apache%202-4EB1BA.svg
)
](https://www.apache.org/licenses/LICENSE-2.0.html)
[
![Maven
](
https://img.shields.io/badge/Maven%20Central-1.0.
4
-blue.svg
)
](https://search.maven.org/artifact/com.usthe.sureness/sureness-core)
[
![Maven
](
https://img.shields.io/badge/Maven%20Central-1.0.
5
-blue.svg
)
](https://search.maven.org/artifact/com.usthe.sureness/sureness-core)
![
GitHub pull request check contexts
](
https://img.shields.io/github/status/contexts/pulls/dromara/sureness/8?label=pull%20checks
)
[
![Gitter
](
https://img.shields.io/gitter/room/usthe/sureness?label=sureness&color=orange&logo=gitter&logoColor=red
)
](https://gitter.im/usthe/sureness)
![
GitHub Release Date
](
https://img.shields.io/github/release-date/dromara/sureness?color=blue&logo=figshare&logoColor=red
)
...
...
@@ -94,11 +94,11 @@ When use maven or gradle build project, add coordinate
<dependency>
<groupId>com.usthe.sureness</groupId>
<artifactId>sureness-core</artifactId>
<version>1.0.
4
</version>
<version>1.0.
5
</version>
</dependency>
```
```
compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.
4
'
compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.
5
'
```
#### 🐵 Use the Default Configuration to Configure Sureness
...
...
README_CN.md
浏览文件 @
cf2e762f
...
...
@@ -9,7 +9,7 @@
> 面向`REST API`的高性能认证鉴权框架
[
![License
](
https://img.shields.io/badge/license-Apache%202-4EB1BA.svg
)
](https://www.apache.org/licenses/LICENSE-2.0.html)
[
![Maven
](
https://img.shields.io/badge/Maven%20Central-1.0.
4
-blue.svg
)
](https://search.maven.org/artifact/com.usthe.sureness/sureness-core)
[
![Maven
](
https://img.shields.io/badge/Maven%20Central-1.0.
5
-blue.svg
)
](https://search.maven.org/artifact/com.usthe.sureness/sureness-core)
![
GitHub pull request check contexts
](
https://img.shields.io/github/status/contexts/pulls/dromara/sureness/8?label=pull%20checks
)
[
![Gitter
](
https://img.shields.io/gitter/room/usthe/sureness?label=sureness&color=orange&logo=gitter&logoColor=red
)
](https://gitter.im/usthe/sureness)
![
GitHub Release Date
](
https://img.shields.io/github/release-date/dromara/sureness?color=blue&logo=figshare&logoColor=red
)
...
...
@@ -100,11 +100,11 @@
<dependency>
<groupId>com.usthe.sureness</groupId>
<artifactId>sureness-core</artifactId>
<version>1.0.
4
</version>
<version>1.0.
5
</version>
</dependency>
```
```
compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.
4
'
compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.
5
'
```
#### 🐵 使用默认配置来配置Sureness
...
...
core/pom.xml
浏览文件 @
cf2e762f
...
...
@@ -6,7 +6,7 @@
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.usthe.sureness
</groupId>
<artifactId>
sureness-core
</artifactId>
<version>
1.0.
4-beta.2
</version>
<version>
1.0.
5
</version>
<packaging>
jar
</packaging>
<name>
sureness
</name>
...
...
@@ -40,7 +40,7 @@
scm:git:https://github.com/dromara/sureness.git
</developerConnection>
<url>
https://github.com/dromara/sureness
</url>
<tag>
1.0.
2
</tag>
<tag>
1.0.
5
</tag>
</scm>
<properties>
...
...
core/src/main/java/com/usthe/sureness/matcher/util/TirePathTree.java
浏览文件 @
cf2e762f
...
...
@@ -387,10 +387,15 @@ public class TirePathTree {
// set node type is NODE_TYPE_MAY_PATH_END
current
.
setNodeType
(
NODE_TYPE_MAY_PATH_END
);
// start insert httpMethod method, if existed, not overwrite and modify the original configuration
if
(
current
.
getMethodChildren
()
!=
null
&&
(
current
.
getMethodChildren
().
containsKey
(
method
)
||
current
.
getMethodChildren
().
containsKey
(
MATCH_ALL_METHOD
)))
{
logger
.
warn
(
"[sureness]-The path resource: {} has match same method, ignore it."
,
path
);
return
;
if
(
current
.
getMethodChildren
()
!=
null
)
{
if
(
current
.
getMethodChildren
().
containsKey
(
method
))
{
logger
.
warn
(
"[sureness]-The path resource: {} has match same resource config, ignore this one."
,
path
);
return
;
}
if
(
current
.
getMethodChildren
().
containsKey
(
MATCH_ALL_METHOD
))
{
logger
.
warn
(
"[sureness]-The path resource: {} has match same resource config(* means all http method), ignore this one."
,
path
);
return
;
}
}
current
=
current
.
insertMethodChildren
(
method
);
...
...
home/docs/introduce.md
浏览文件 @
cf2e762f
...
...
@@ -10,7 +10,7 @@ slug: /
> A simple and efficient jvm security framework that focus on the protection of REST API.
[
![License
](
https://img.shields.io/badge/license-Apache%202-4EB1BA.svg
)
](https://www.apache.org/licenses/LICENSE-2.0.html)
[
![Maven
](
https://img.shields.io/badge/Maven%20Central-1.0.
4
-blue.svg
)
](https://search.maven.org/artifact/com.usthe.sureness/sureness-core)
[
![Maven
](
https://img.shields.io/badge/Maven%20Central-1.0.
5
-blue.svg
)
](https://search.maven.org/artifact/com.usthe.sureness/sureness-core)
![
GitHub pull request check contexts
](
https://img.shields.io/github/status/contexts/pulls/dromara/sureness/8?label=pull%20checks
)
[
![Gitter
](
https://img.shields.io/gitter/room/usthe/sureness?label=sureness&color=orange&logo=gitter&logoColor=red
)
](https://gitter.im/usthe/sureness)
![
GitHub Release Date
](
https://img.shields.io/github/release-date/dromara/sureness?color=blue&logo=figshare&logoColor=red
)
...
...
home/docs/start/quickstart.md
浏览文件 @
cf2e762f
...
...
@@ -21,11 +21,11 @@ When use maven or gradle build project, add coordinate
<dependency>
<groupId>com.usthe.sureness</groupId>
<artifactId>sureness-core</artifactId>
<version>1.0.
4
</version>
<version>1.0.
5
</version>
</dependency>
```
```
compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.
4
'
compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.
5
'
```
### 🐵 Use the Default Configuration to Configure Sureness
...
...
home/i18n/zh-cn/docusaurus-plugin-content-docs/current/introduce.md
浏览文件 @
cf2e762f
...
...
@@ -8,7 +8,7 @@ slug: /
> 面向`REST API`的高性能认证鉴权框架
[
![License
](
https://img.shields.io/badge/license-Apache%202-4EB1BA.svg
)
](https://www.apache.org/licenses/LICENSE-2.0.html)
[
![Maven
](
https://img.shields.io/badge/Maven%20Central-1.0.
4
-blue.svg
)
](https://search.maven.org/artifact/com.usthe.sureness/sureness-core)
[
![Maven
](
https://img.shields.io/badge/Maven%20Central-1.0.
5
-blue.svg
)
](https://search.maven.org/artifact/com.usthe.sureness/sureness-core)
![
GitHub pull request check contexts
](
https://img.shields.io/github/status/contexts/pulls/dromara/sureness/8?label=pull%20checks
)
[
![Gitter
](
https://img.shields.io/gitter/room/usthe/sureness?label=sureness&color=orange&logo=gitter&logoColor=red
)
](https://gitter.im/usthe/sureness)
![
GitHub Release Date
](
https://img.shields.io/github/release-date/dromara/sureness?color=blue&logo=figshare&logoColor=red
)
...
...
home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/quickstart.md
浏览文件 @
cf2e762f
...
...
@@ -20,11 +20,11 @@ sidebar_label: 快速开始
<dependency>
<groupId>com.usthe.sureness</groupId>
<artifactId>sureness-core</artifactId>
<version>1.0.
4
</version>
<version>1.0.
5
</version>
</dependency>
```
```
compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.
4
'
compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.
5
'
```
#### 🐵 使用默认配置来配置Sureness
...
...
home/src/constants.js
浏览文件 @
cf2e762f
...
...
@@ -227,7 +227,7 @@ export const SetupExample = `
<dependency>
<groupId>com.usthe.sureness</groupId>
<artifactId>sureness-core</artifactId>
<version>1.0.
4
</version>
<version>1.0.
5
</version>
</dependency>
compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.3'
...
...
home/src/pages/index.js
浏览文件 @
cf2e762f
...
...
@@ -33,7 +33,7 @@ function Home() {
<
a
href
=
"
https://www.apache.org/licenses/LICENSE-2.0.html
"
><
img
src
=
"
https://img.shields.io/badge/license-Apache%202-4EB1BA.svg
"
/><
/a
>
<
a
href
=
"
https://search.maven.org/artifact/com.usthe.sureness/sureness-core
"
><
img
src
=
"
https://img.shields.io/badge/Maven%20Central-1.0.
4
-blue.svg
"
/><
/a
>
src
=
"
https://img.shields.io/badge/Maven%20Central-1.0.
5
-blue.svg
"
/><
/a
>
<
a
href
=
"
https://www.apache.org/licenses/LICENSE-2.0.html
"
><
img
src
=
"
https://img.shields.io/github/release-date/dromara/sureness?color=blue&logo=figshare&logoColor=red
"
/><
/a
>
<
a
href
=
"
https://img.shields.io/github/status/contexts/pulls/dromara/sureness/8?label=pull%20checks
"
><
img
...
...
pom.xml
浏览文件 @
cf2e762f
...
...
@@ -18,7 +18,7 @@
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<sureness-core.version>
1.0.
4-beta.2
</sureness-core.version>
<sureness-core.version>
1.0.
5
</sureness-core.version>
<java.version>
1.8
</java.version>
<maven.compiler.source>
1.8
</maven.compiler.source>
<maven.compiler.target>
1.8
</maven.compiler.target>
...
...
support/spring-boot-starter-sureness/pom.xml
浏览文件 @
cf2e762f
...
...
@@ -5,7 +5,7 @@
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.usthe.sureness
</groupId>
<artifactId>
spring-boot-starter-sureness
</artifactId>
<version>
1.0.0-beta.
1
</version>
<version>
1.0.0-beta.
2
</version>
<packaging>
jar
</packaging>
<name>
spring-boot-starter-sureness
</name>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录