diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/eoss/SSOPluginLogin.java b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/eoss/SSOPluginLogin.java index 789b962..7be7fda 100644 --- a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/eoss/SSOPluginLogin.java +++ b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/eoss/SSOPluginLogin.java @@ -51,7 +51,7 @@ public class SSOPluginLogin implements ThirdSSOAuthHandler { /* *重定向的统一认证的地址 获取授权码 */ - ssourl = String.format("%s/sso2/authCenter/authorize?client_id=%s&response_type=code&sessionKeep=false&authType=0&redirect_uri=%s", + ssourl = String.format("%s/sso2/authCenter/authorize?client_id=%s&response_type=code&authType=0&redirect_uri=%s", EOSS_IP, CLIENT_ID, s); logger.info(String.format("重定向地址→sendRedirect:%s", ssourl)); } @@ -102,9 +102,9 @@ public class SSOPluginLogin implements ThirdSSOAuthHandler { result.setUser(user); result.setSucess(true); logger.info("SSO用户登录成功,进入苍穹系统"); - String userKey = "user_sessionId_" + user; // 构造一个唯一的键 - DistributeSessionlessCache cache = CacheFactory.getCommonCacheFactory().getDistributeSessionlessCache("customRegion"); - cache.put(userKey, sessionId);//将自定义参数加入缓存 +// String userKey = "user_sessionId_" + user; // 构造一个唯一的键 +// DistributeSessionlessCache cache = CacheFactory.getCommonCacheFactory().getDistributeSessionlessCache("customRegion"); +// cache.put(userKey, sessionId);//将自定义参数加入缓存 } } catch (Exception e) { throw new KDBizException("获取用户信息接口异常,SSO用户登录失败!" + e);