|
|
@ -99,6 +99,7 @@ public class E9LoginStrategy implements ISystemLoginStrategyService {
|
|
|
|
String hostsConfig = RedisCacheTool.getSysConfigStrVal(PlatformConstWords.SSO_REQUEST_HOST);
|
|
|
|
String hostsConfig = RedisCacheTool.getSysConfigStrVal(PlatformConstWords.SSO_REQUEST_HOST);
|
|
|
|
String[] hosts = hostsConfig.split(delimiter);
|
|
|
|
String[] hosts = hostsConfig.split(delimiter);
|
|
|
|
String requestHost = ServletRequestTool.getRequestHost(request);
|
|
|
|
String requestHost = ServletRequestTool.getRequestHost(request);
|
|
|
|
|
|
|
|
log.info("{}地址正在尝试访问 E9 SSO", requestHost);
|
|
|
|
return Arrays.stream(hosts).anyMatch(d -> requestHost.equals(d));
|
|
|
|
return Arrays.stream(hosts).anyMatch(d -> requestHost.equals(d));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|