You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add jap-ids-web module. Package the filter of ids as a separate component.
feat: add HTTP servlet adapter to decouple jakarta servlets. Note [1]
feat: [jap-social] Support to bind the account of the third-party platform. (Gitee
Issue #I46J6W)
change: [jap-ids] scope changed to optional.
change: [jap-sso] Upgrade kisso to 3.7.7, Solve the vulnerability of jackson.
change: [jap-mfa] Upgrade googleauth to 1.5.0, Solve the vulnerability of apache httpclient.
change: Replace the theme of the document site https://justauth.plus to solve the problem of
the soaring memory of the document site. (Gitee Issue I4958H | Github
Issue 8)
change: Upgrade simple-http to 1.0.5.
change: Upgrade JustAuth to 1.16.4.
change: Optimize code.
Note [1]:
In versions prior to version 1.0.5 of jap, rely on the HttpServletRequest, Cookie, HttpServletResponse,
and HttpSession under the javax.servlet.http package in jakarta-servlet, such as:
// Use jap in spring frameworkXxJapStrategy.authenticate(config,request,response);
In order to improve the adaptability of the framework, since version 1.0.5, JAP removed the dependency
of jakarta-servlet and adopted a new set of interfaces (reference: jap-http ).
The developer needs to adapt the original request when calling the JAP interface.
For example, if the developer uses jakarta-servlet, then the HttpServletRequest needs to be adapted:
// Use 1.0.5 or higher version of jap in spring frameworkXxJapStrategy.authenticate(config,newJakartaRequestAdapter(request),newJakartaResponseAdapter(response));
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
jap-http-api
module. (Gitee Issue #I43ZS7)jap-ids-web
module. Package the filter of ids as a separate component.Issue #I46J6W)
kisso
to 3.7.7, Solve the vulnerability of jackson.googleauth
to 1.5.0, Solve the vulnerability of apache httpclient.the soaring memory of the document site. (Gitee Issue I4958H | Github
Issue 8)
simple-http
to 1.0.5.JustAuth
to 1.16.4.Note [1]:
In versions prior to version 1.0.5 of jap, rely on the
HttpServletRequest
,Cookie
,HttpServletResponse
,and
HttpSession
under thejavax.servlet.http
package injakarta-servlet
, such as:In order to improve the adaptability of the framework, since version 1.0.5, JAP removed the dependency
of
jakarta-servlet
and adopted a new set of interfaces (reference: jap-http ).The developer needs to adapt the original request when calling the JAP interface.
For example, if the developer uses
jakarta-servlet
, then theHttpServletRequest
needs to be adapted:jap-http-api
模块。 (Gitee Issue #I43ZS7)jap-ids-web
模块。 将jap-ids
的过滤器打包为一个单独的组件。Issue #I46J6W)
scope
在各个流程中都更改为可选,遵循 RFC6749 规范。kisso
的版本为 3.7.7, 解决 jackson 的漏洞。googleauth
的版本为 1.5.0, 解决 apache httpclient 的漏洞。| Github Issue #8)
simple-http
的版本为 1.0.5.JustAuth
的版本为 1.16.4.注[1]:
在 1.0.5 以前版本,jap 中依赖
jakarta-servlet
中javax.servlet.http
包下的HttpServletRequest
、Cookie
、HttpServletResponse
、
HttpSession
,比如:为了提高框架适配性,自 1.0.5 版本开始,JAP 去掉了
jakarta-servlet
依赖,采用了一套全新的接口(参考:jap-http),开发者在调用JAP 接口时需要对原 request 进行适配。
比如,开发者使用了
jakarta-servlet
,那么需要对HttpServletRequest
进行适配处理:This discussion was created from the release v1.0.5.
Beta Was this translation helpful? Give feedback.
All reactions