获取code参数代码修改
This commit is contained in:
parent
d94c8b442b
commit
08b693c16d
|
@ -1,4 +1,4 @@
|
||||||
package chuantou;
|
package shkd.sys.sys.eoss;
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSON;
|
import com.alibaba.fastjson.JSON;
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
|
@ -12,7 +12,6 @@ import shkd.sys.sys.eoss.AuthService;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
import static kd.bos.login.thirdauth.UserProperType.UserName;
|
import static kd.bos.login.thirdauth.UserProperType.UserName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -24,6 +23,8 @@ public class SSOPluginLogin implements ThirdSSOAuthHandler {
|
||||||
private final String CLIENT_ID = System.getProperty("clientKey-scict");
|
private final String CLIENT_ID = System.getProperty("clientKey-scict");
|
||||||
private final String CLIENT_SECRET = System.getProperty("clientSecret-scict");
|
private final String CLIENT_SECRET = System.getProperty("clientSecret-scict");
|
||||||
private final String EOSS_IP = System.getProperty("ip-port");
|
private final String EOSS_IP = System.getProperty("ip-port");
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 方法实现用户没有登录的时候跳转认证中心的登录地址
|
* 方法实现用户没有登录的时候跳转认证中心的登录地址
|
||||||
* @param httpServletRequest
|
* @param httpServletRequest
|
||||||
|
|
Loading…
Reference in New Issue