Commit edf93ccb by chenzx

湖南一体化单点登录配置更新,如果是公司环境要注释才能正常运行

parent 3a5255f4
......@@ -16,7 +16,7 @@ import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
//@Configuration
@Configuration
public class ClientSsoConfig implements DisposableBean {
@Autowired
SsoServerProcesssor ssoServerProcesssor;
......
......@@ -3,7 +3,7 @@ package com.keymobile.proxy.model;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
//@Component
@Component
public class SsoServerProcesssor {
@Value("${portal.sso.appid}")
private String clientAppId;
......
......@@ -10,7 +10,7 @@ spring:
namespace: tb
redis:
cluster:
nodes: 192.168.0.192:6379
nodes: 127.0.0.1:6379
max-redirects: 6
timeout: 10000 #客户端超时时间单位是毫秒 默认是2000
maxIdle: 300 #最大空闲数
......@@ -23,9 +23,9 @@ spring:
testWhileIdle: true #在空闲时检查有效性, 默认false
password:
datasource:
url: jdbc:mysql://dev-vm-00:3306/dev0?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8
username: test
password: test
url: jdbc:mysql://139.198.127.54:9306/dev0?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8
username: root
password: dataSharing
servlet:
multipart:
max-file-size: 100Mb
......@@ -42,6 +42,7 @@ eureka:
registryFetchIntervalSeconds: 5
serviceUrl:
defaultZone: http://192.168.0.216:8081/eureka/
enabled: false
instance:
prefer-ip-address: true
hostname: 192.168.0.110
......@@ -51,8 +52,9 @@ zuul:
sensitive-headers:
logging:
config: classpath:logback-spring.xml
level:
org.springframework.security: DEBUG
org: info
redirect-url:
system-management: http://192.168.0.216:9090/center-home/view/index
......
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %X{user} %X{session} %-5level %logger{5} - %msg%n</pattern>
<charset>UTF-8</charset>
</encoder>
</appender>
<appender name="file" class="ch.qos.logback.core.FileAppender">
<file>./logs/login.log</file>
<append>false</append>
<encoder>
<pattern>%msg%n</pattern>
</encoder>
</appender>
<logger name="com.keymobile.proxy.conf.RESTAuthenticationSuccessHandler">
<appender-ref ref="file" />
</logger>
<root level="INFO">
<appender-ref ref="stdout" />
</root>
</configuration>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment