代码拉取完成,页面将自动刷新
同步操作将从 符节开源/jap 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
jap-ids
enableDynamicIssuer
in IdsConfig
. When enableDynamicIssuer=true
, jap ids will automatically extract issuer
from the currently requested domain name.loginPageUrl
in IdsConfig
:
loginPageUrl
: login form page urlloginUrl
: The api url for loginexternalLoginPageUrl
in IdsConfig
. when the login page is not provided by an authorized service (the login page is hosted by other services), you need to enable this configuration.externalConfirmPageUrl
in IdsConfig
. When the authorization confirmation page is not provided by an authorized service (the authorization confirmation page is hosted by other services), you need to enable this configuration.authorizeAutoApproveUrl
in IdsConfig
. When the authorize url contains autoapprove=true
, it will not jump to the confirmPageUrl
, but will jump directly to the authorizeAutoApproveUrl
.profile
, address
, read
and write
.uid
in the OauthUtil#createAuthorizeUrl(String, IdsRequestParam)
.IdsUserStoreService
interface to support custom operations on user data after login.IdsPipeline
interface, developers can customize the process, currently only supports the process of customizing IdsxxFilter
and LoginEndpoint
.SPI
plugin mechanismjap-social
SocialStrategy
provides methods of refreshToken
, revokeToken
, and getUserInfo
jap
javax.servlet-api
-> jakarta.servlet-api
jap-ids
IdsConfig.confirmUrl
to confirmPageUrl
.ApprovalEndpoint#getAuthClientInfo(HttpServletRequest)
to IdsResponse<String, Map<String, Object>>
.Ap provalEndpoint#authorize(HttpServletRequest)
to IdsResponse<String, String>
.AuthorizationEndpoint#agree(HttpServletRequest)
to IdsResponse<String, String>
.LoginEndpoint#signin(HttpServletRequest)
to IdsResponse<String, String>
.LogoutEndpoint#logout(HttpServletRequest)
to IdsResponse<String, String>
.ClientDetail
.IdsResponse#getData()
to the specified generic.IdsScopeProvider#initScopes(List<IdsScope>)
.response_type=id_token
, the resulting Claims are returned in the ID Token.UserInfoEndpoint#getCurrentUserInfo(HttpServletRequest)
, Response UserInfo Claims using Scope Values.loginByUsernameAndPassword
and getByName
methods of the IdsUserService
interface, and add the clientId
parameter, which can be used to distinguish multi-tenant scenarioscom.fujieid.jap.core.util.RequestUtil
jap-ids
module, and provide oauth services externally based on jap-ids
code
, token
, id token
, id token token
, code id token
, code token
, code id token token
For more details about the use of jap-ids
, please refer to the sample project: jap-ids-demo, or refer to the document: IDS OAuth 2.0 服务端
OidcStrategy#authenticate
method, cache the OidcDiscoveryDto
, and reduce unnecessary http
requestsOidcUtil
, fix known bugscom.fujieid.jap.core.cache.JapLocalCache
, implement timer manually, clean local cache regularlyJapErrorCode
JapTokenHelper
JapErrorCode
enumeration class to manage exception codes and exception promptsJapResponse
class to standardize interface return contentJapTokenHelper
class to manage user tokens uniformlyJapContext
class to maintain jap context informationJapAuthentication
class, unified management of login status information and jap context informationAuthenticateConfig
, JapConfig
to com.fujieid.jap.core.config
packageJapUtil
to com.fujieid.jap.core.util
packageJapCacheContextHolder
JapUserStoreContextHolder
AbstractJapStrategy
, introduced JapContext
and JapAuthentication
classesJapConfig
class, only retain the sso
and ssoConfig
attributes, and add the tokenExpireTime
and cacheExpireTime
attributes at the same timeJapCacheConfig
to 7 daysJapUserService
interface classvoid remove key( string key)
method to JapCache
errorCode
and errorMessage
attributes in JapException
to facilitate the processing of exception
information into unified format return datatoken
attribute to JapUser
, and the jap token will be automatically returned after loginJapStrategy
interface, the return type of the authenticate
method is changed to JapResponse
, and the
strategy methods of all modules return data in a unified formatredirect
method with @Deprecated
in the JapUtil
class, and it may be deleted in the future. At the
same time add the createToken
methodauthenticate
method of Oauth2Strategy
to return JapResponse
authenticate
method of OidcStrategy
to return JapResponse
authenticate
method of SimpleStrategy
to return JapResponse
authenticate
method of SocialStrategy
to return JapResponse
JapSsoHelper#login
method to the jap token of the current userJapSsoUtil
japSsoConfig
class, delete the login url
and logout url
attributesjap-mfa
module to realize TOTP verificationlogout
method is added to the JapUserStoreContextHolder
to support clearing cookies and sessionsjap.sh
, support a variety of common commandsoptions
attribute in JapConfig
is deleted, and the justathConfig
attribute is added to SocialConfig
RemberMeDetailsUtils
to RembermeUtils
Oauth2Strategy#checkOauthConfig()
and Oauth2Strategy#isCallback()
to the Oauth2Util
SimpleConfig
, and move the unnecessary configuration items and business logic to
the RememberMeUtils
com.fujieid.jap.core.cache.JapCache
jap-oauth2
package-info.java
simple-json
to 0.0.2
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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。