修复数据平台空指针问题,新增单服务代理模式

This commit is contained in:
lhc
2021-03-12 16:11:45 +08:00
parent 83c354e4be
commit b9ccc48445
15 changed files with 314 additions and 33 deletions

View File

@@ -1,6 +1,6 @@
package com.hcframe.gateway;
import com.hcframe.gateway_cas_stater.annotate.EnableGatewayCas;
//import com.hcframe.gateway_cas_stater.annotate.EnableGatewayCas;
import com.hcframe.redis.RedisUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@@ -10,7 +10,7 @@ import org.springframework.context.annotation.Import;
@SpringBootApplication
@EnableDiscoveryClient
@Import(RedisUtil.class)
@EnableGatewayCas
//@EnableGatewayCas
public class GatewayApplication {
public static void main(String[] args) {

View File

@@ -36,6 +36,9 @@ hcframe:
logout-url: @cas.logout-url@
cas-service-url: @cas.cas-service-url@
client-context-path: @cas.client-context-path@
accept-any-proxy: true
proxyReceptorUrl: /proxyCallback
proxyCallbackUrl: http://192.168.1.130:8084/proxyCallback
config:
# 是否开启redis 用户登录若开启此项需要配置redis节点及相关配置若不开启需要注释掉redis相关配置信息
isRedisLogin: true