Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
符节科技
Jap
提交
859df4c0
Jap
项目概览
符节科技
/
Jap
10 个月 前同步成功
通知
91
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Jap
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
859df4c0
编写于
3月 03, 2021
作者:
智布道
👁
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
🔖
pre-releasing 1.0.1-alpha
上级
d6ca7d02
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
130 addition
and
3 deletion
+130
-3
.gitignore
.gitignore
+1
-0
CHANGELOGS.md
CHANGELOGS.md
+113
-0
README.md
README.md
+1
-1
docs/bin/version.txt
docs/bin/version.txt
+1
-1
pom.xml
pom.xml
+14
-1
未找到文件。
.gitignore
浏览文件 @
859df4c0
...
...
@@ -59,3 +59,4 @@ build/
/pom.xml.versionsBackup
/jap-mfa/pom.xml.versionsBackup
/docs/bin/codecov.sh
/jap-ids/pom.xml.versionsBackup
CHANGELOGS.md
0 → 100644
浏览文件 @
859df4c0
## v1.0.1-alpha(2021-03-02)(Unpublished)
### jap-core
#### New features
-
Add
`JapErrorCode`
enumeration class to manage exception codes and exception prompts
-
Add
`JapResponse`
class to standardize interface return content
-
Add
`JapTokenHelper`
class to manage user tokens uniformly
-
Add
`JapContext`
class to maintain jap context information
-
Add
`JapAuthentication`
class, unified management of login status information and jap context information
#### Modified
-
Package structure
-
Move
`AuthenticateConfig`
,
`JapConfig`
to
`com.fujieid.jap.core.config`
package
-
Move
`JapUtil`
to
`com.fujieid.jap.core.util`
package
-
delete
-
Delete
`JapCacheContextHolder`
-
Delete
`JapUserStoreContextHolder`
-
Code
-
Refactored
`AbstractJapStrategy`
, introduced
`JapContext`
and
`JapAuthentication`
classes
-
Refactor the
`JapConfig`
class, only retain the
`sso`
and
`ssoConfig`
attributes, and add the
`tokenExpireTime`
and
`cacheExpireTime`
attributes at the same time
-
Modify the default validity period of the cache in
`JapCacheConfig`
to 7 days
-
Modify the default content in the
`JapUserService`
interface class
-
Add the
`void remove key( string key)`
method to
`JapCache`
-
Add
`errorCode`
and
`errorMessage`
attributes in
`JapException`
to facilitate the processing of exception
information into unified format return data
-
Add the
`token`
attribute to
`JapUser`
, and the jap token will be automatically returned after login
-
In the
`JapStrategy`
interface, the return type of the
`authenticate`
method is changed to
`JapResponse`
, and the
strategy methods of all modules return data in a unified format
-
Mark the
`redirect`
method with
`@Deprecated`
in the
`JapUtil`
class, and it may be deleted in the future. At the
same time add the
`createToken`
method
### jap-oauth2
-
Modify the
`authenticate`
method of
`Oauth2Strategy`
to return
` JapResponse`
### jap-oidc
-
Modify the
`authenticate`
method of
`OidcStrategy`
to return
` JapResponse`
### jap-simple
-
Modify the
`authenticate`
method of
`SimpleStrategy`
to return
` JapResponse`
### jap-social
-
Modify the
`authenticate`
method of
`SocialStrategy`
to return
` JapResponse`
### jap-sso
-
Modify the return value of the
`JapSsoHelper#login`
method to the jap token of the current user
-
Add
`JapSsoUtil`
-
In the
`japSsoConfig`
class, delete the
`login url`
and
`logout url`
attributes
### Other
-
Add some unit tests
## v1.0.0(2021-02-18)
### New features
-
added
`jap-mfa`
module to realize TOTP verification
-
The
`logout`
method is added to the
`JapUserStoreContextHolder`
to support clearing cookies and sessions
-
added test cases
### Modified
-
Updated
`jap.sh`
, support a variety of common commands
-
The
`options`
attribute in
`JapConfig`
is deleted, and the
`justathConfig`
attribute is added to
`SocialConfig`
-
Change the name of
`RemberMeDetailsUtils`
to
`RembermeUtils`
-
Move the
`Oauth2Strategy#checkOauthConfig()`
and
`Oauth2Strategy#isCallback()`
to the
`Oauth2Util`
### Other
-
Improved code
-
Reconstruct the
`SimpleConfig`
, and move the unnecessary configuration items and business logic to
the
`RememberMeUtils`
## v1.0.0-alpha.1(2021-02-01)
### New features
-
Add cache module
`com.fujieid.jap.core.cache.JapCache`
-
Add 'state' verification logic in
`jap-oauth2`
-
Add some
`package-info.java`
### Modified
-
Revision notes
-
To solve the problem that 'codeverifier' in 'pkceutil' can only be cached locally
-
Upgrade
`simple-json`
to
`0.0.2`
### other
-
Fix Javadoc compilation failure
## 1.0.0-alpha(2021-01-28)
JA Plus(JAP) is an open source authentication middleware, it is highly decoupled from business code and has good
modularity and flexiblity. Developers could integrate JAP into web applications effortlessly.
## Completed
-
[
login of username-password
](
https://justauth.plus/quickstart/jap-simple.html
)
-
[
login of Social
](
https://justauth.plus/quickstart/jap-social.html
)
-
[
login of OAuth 2.0
](
https://justauth.plus/quickstart/jap-oauth2.html
)
-
[
login of oidc
](
https://justauth.plus/quickstart/jap-oidc.html
)
-
[
SSO
](
https://justauth.plus/quickstart/jap-sso.html
)
README.md
浏览文件 @
859df4c0
...
...
@@ -6,7 +6,7 @@
</p>
<p
align=
"center"
>
<a
target=
"_blank"
href=
"https://search.maven.org/search?q=jap"
>
<img
src=
"https://img.shields.io/badge/Maven%20Central-1.0.1-blue"
></img>
<img
src=
"https://img.shields.io/badge/Maven%20Central-1.0.1-
alpha-
blue"
></img>
</a>
<a
target=
"_blank"
href=
"https://gitee.com/yadong.zhang/JustAuth/blob/master/LICENSE"
>
<img
src=
"https://img.shields.io/badge/license-LGPL%203.0-red"
></img>
...
...
docs/bin/version.txt
浏览文件 @
859df4c0
1.0.1
1.0.1
-alpha
pom.xml
浏览文件 @
859df4c0
...
...
@@ -5,7 +5,7 @@
<groupId>
com.fujieid
</groupId>
<artifactId>
jap
</artifactId>
<version>
1.0.1
</version>
<version>
1.0.1
-alpha
</version>
<packaging>
pom
</packaging>
<name>
jap
</name>
...
...
@@ -61,6 +61,7 @@
<maven-surefire-version>
2.20
</maven-surefire-version>
<maven-gpg-version>
1.6
</maven-gpg-version>
<maven.test.skip>
false
</maven.test.skip>
<maven.javadoc.skip>
true
</maven.javadoc.skip>
<cobertura-version>
2.7
</cobertura-version>
<jacoco-version>
0.8.6
</jacoco-version>
...
...
@@ -98,6 +99,12 @@
<version>
${mockito.version}
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.slf4j
</groupId>
<artifactId>
slf4j-api
</artifactId>
<version>
1.7.22
</version>
<scope>
test
</scope>
</dependency>
<!-- junit end -->
...
...
@@ -145,6 +152,12 @@
<version>
${hutool.version}
</version>
</dependency>
<dependency>
<groupId>
org.bitbucket.b_c
</groupId>
<artifactId>
jose4j
</artifactId>
<version>
${jose4j.version}
</version>
</dependency>
<!-- servlet -->
<dependency>
<groupId>
javax.servlet
</groupId>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录