diff --git a/README.md b/README.md index 300ab6a32dd49a9ad788451839eb27b6ac57c80b..cb20a1d2b3ab0c1908354bf097b0929726e7e43f 100644 --- a/README.md +++ b/README.md @@ -93,11 +93,11 @@ When use maven or gradle build project, add coordinate com.usthe.sureness sureness-core - 1.0.0 + 1.0.1 ``` ``` -compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.0' +compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.1' ``` #### 🐵 Use the Default Configuration to Configure Sureness diff --git a/README_CN.md b/README_CN.md index 34a2484e147b64050bf999d7a6aeb29d548f12e8..9d27dd3b4feffa5d41c652be7ae5f512008e27e0 100644 --- a/README_CN.md +++ b/README_CN.md @@ -78,11 +78,10 @@ #### 🐕 使用前一些约定 -- `sureness`尽量简洁,基于`rbac`,只有(角色-资源)的映射,没有(权限)动作映射,即 用户-角色-资源 +- `sureness`基于`rbac`,即用户-角色-资源:用户所属角色--角色拥有资源(api)--用户拥有资源(api) - 我们将`restful api`请求视作一个资源,资源格式为: `requestUri===httpMethod` - 即请求的路径加上其请求方式(`post,get,put,delete...`)作为一个整体被视作一个资源 - `eg: /api/v2/book===get` `get`方式请求`/api/v2/book`接口数据 -- 角色资源映射: 用户所属角色--角色拥有资源--用户拥有资源(用户就能访问此`api`) + 即请求的路径加上其请求方式(`post,get,put,delete...`)作为一个整体被视作一个资源来赋权配置 + `eg: /api/v2/book===get` `get`方式请求`/api/v2/book`接口数据 资源路径匹配详见 [URI路径匹配](docs/cn/path-match.md) @@ -93,11 +92,11 @@ com.usthe.sureness sureness-core - 1.0.0 + 1.0.1 ``` ``` -compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.0' +compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.1' ``` #### 🐵 使用默认配置来配置sureness diff --git a/core/pom.xml b/core/pom.xml index a42cd1e07e812d8666e4d186b4898c7d034902f9..1942abfe2f2aa495d19899d3a7086a77c99a5a2f 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -6,7 +6,7 @@ 4.0.0 com.usthe.sureness sureness-core - 1.0.0 + 1.0.1 jar sureness diff --git a/docs/_coverpage.md b/docs/_coverpage.md index aee86adeddbde265c6b7d35ed1ee870c1b4dd444..52c4666d24beaf094e96abd34bdaadda3c81f2ff 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -1,6 +1,6 @@ ![logo](_media/hat-128.svg) -# sureness 1.0.0 for jvm +# sureness 1.0.1 for jvm > Focusing on Protection of Restful Api. diff --git a/docs/cn/_coverpage.md b/docs/cn/_coverpage.md index 9938dfa393c18cc40e9fd113e849752826939e18..6f66778140192b304308f67e3f8a5933c46dafc7 100644 --- a/docs/cn/_coverpage.md +++ b/docs/cn/_coverpage.md @@ -1,6 +1,6 @@ ![logo](../_media/hat-128.svg) -# sureness 1.0.0 for jvm +# sureness 1.0.1 for jvm > 面向`restful api`的高性能认证鉴权框架 diff --git a/docs/cn/quickstart.md b/docs/cn/quickstart.md index 77db86b150105b9ab1ede50bb6153f8211373a5d..4d58277820725194d85b03649ef9abd53f13aa63 100644 --- a/docs/cn/quickstart.md +++ b/docs/cn/quickstart.md @@ -17,11 +17,11 @@ com.usthe.sureness sureness-core - 1.0.0 + 1.0.1 ``` ``` -compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.0' +compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.1' ``` #### 使用默认配置来配置sureness diff --git a/docs/quickstart.md b/docs/quickstart.md index 3c12606b5e869ca17aedf34cf9b7094367b085a2..022b895ce19c795c1d39595e1b0a54bd7b24c3e6 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -17,11 +17,11 @@ When use maven or gradle build project, add coordinate com.usthe.sureness sureness-core - 1.0.0 + 1.0.1 ``` ``` -compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.0' +compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.1' ``` #### Use the default configuration to configure sureness diff --git a/pom.xml b/pom.xml index 16dd8d8304952717cbe52122f25293bc973d59ed..f9cef6329f93cc939fe9cc881a3bdc905aaaf815 100644 --- a/pom.xml +++ b/pom.xml @@ -17,7 +17,7 @@ UTF-8 - 1.0.0 + 1.0.1 1.8 1.8 1.8