提交 039639a7 编写于 作者: 智布道's avatar 智布道 👁

📝 Writing docs.

上级 c5e0760a
## JAP OAuth 2.0
`jap-oauth2` 是为了方便快速的集成所有支持标准 OAuth 2.0 协议的平台而添加的增强包。
## 使用方法
参考:[帮助文档](https://jap.fujieid.com/quickstart/jap-oauth2.html)
\ No newline at end of file
## JAP OIDC
`jap-oidc` 是为了方便快速的集成所有支持标准 OIDC 协议的平台而添加的增强包。
## 使用方法
参考:[帮助文档](https://jap.fujieid.com/quickstart/jap-oidc.html)
\ No newline at end of file
## JAP Simple (Username-Password)
`jap-simple` 是为了方便快速的集成本地账号密码登录而添加的增强包
## 使用方法
参考:[帮助文档](https://jap.fujieid.com/quickstart/jap-simple.html)
\ No newline at end of file
......@@ -94,7 +94,7 @@ public class SimpleStrategy extends AbstractJapStrategy {
* @param request The request to authenticate
* @param response The response to authenticate
*/
protected void loginSuccess(SimpleConfig simpleConfig, UsernamePasswordCredential credential, JapUser user, HttpServletRequest request, HttpServletResponse response) {
private void loginSuccess(SimpleConfig simpleConfig, UsernamePasswordCredential credential, JapUser user, HttpServletRequest request, HttpServletResponse response) {
if (credential.isRememberMe()) {
String cookieDomain = ObjectUtil.isNotEmpty(simpleConfig.getRememberMeCookieDomain()) ? simpleConfig.getRememberMeCookieDomain() : null;
// add cookie
......@@ -117,7 +117,7 @@ public class SimpleStrategy extends AbstractJapStrategy {
* @param response The response to authenticate
* @return true to login success, false to login
*/
protected boolean checkSessionAndCookie(SimpleConfig simpleConfig, HttpServletRequest request, HttpServletResponse response) {
private boolean checkSessionAndCookie(SimpleConfig simpleConfig, HttpServletRequest request, HttpServletResponse response) {
if (this.checkSession(request, response)) {
return true;
}
......
## JAP Social
`jap-social` 是为了方便快速的集成第三方登录而添加的增强包,依赖并完全适配 [JustAuth](https://github.com/justauth/JustAuth) 支持的平台。
## 使用方法
参考:[帮助文档](https://jap.fujieid.com/quickstart/jap-social.html)
\ No newline at end of file
## JAP SSO
`jap-sso` 是为了方便快速的实现单点登录(SSO)而添加的增强包,由 `jap-core` 默认集成。
## 使用方法
参考:[帮助文档](https://jap.fujieid.com/quickstart/jap-sso.html)
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册