1
13693261870
2022-09-20 840fd8816825c4417854aee3bc11b7d1e10baac0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
info:
  description: CAS Configuration
 
##
# CAS Server
#
server:
  context-path: /cas
  port: 8088
 
  #SSL配置
  ssl:
    enabled: false  #注意!!: 值为true启用https,为false则使用http
    key-store: file:/E:/terrait/TianJin/cas5.0.3/etc/cas/saml  #默认为cas部署所在x盘的etc文件夹
    key-store-password: changeit
    keyAlias: cas
 
##
# thymeleaf 缓存(开发时打开)
spring.thymeleaf.cache: false
#用户验证数据库配置,jdbc:postgresql://127.0.0.1:5432/langfang?currentSchema=magbg
cas:
  authn:
    jdbc:
      query[0]:
        sql: SELECT PASSWORD as psw FROM MAGBG.ORG_USER WHERE LOGINNAME=?
        healthQuery: SELECT 1 FROM MAGBG.ORG_USER
        url: jdbc:postgresql://192.168.20.106:5432/langfang
        user: postgres
        password: postgres
 
        #Oracle
        dialect: org.hibernate.dialect.PostgreSQLDialect
        driverClass: org.postgresql.Driver
 
        failFast: true
        isolationLevelName: ISOLATION_READ_COMMITTED
        leakThreshold: 10
        propagationBehaviorName: PROPAGATION_REQUIRED
        batchSize: 1
        ddlAuto: create-drop
        maxAgeDays: 180
        autocommit: false
        idleTimeout: 50000
        credentialCriteria: 
        fieldPassword: psw
 
        passwordEncoder.type: DEFAULT
        passwordEncoder.characterEncoding: UTF-8
        passwordEncoder.encodingAlgorithm: MD5
        pool:
            suspension: false
            minSize: 6
            maxSize: 18
            maxIdleTime: 10000
            maxWait: 3000       
 
spring:
    #rabbitMQ配置
 
 
   
##
#验证码参数配置=====该部分不能禁止 START=======
kaptcha:
  #无边框
  #border: no
  # border:
  #   thickness: 1
  #渲染效果:水纹:WaterRipple;鱼眼:FishEyeGimpy;阴影:ShadowGimpy
  # obscurificator:
  #   impl: com.google.code.kaptcha.impl.WaterRipple
  #不要噪点
  # noise:
  #   impl: com.google.code.kaptcha.impl.NoNoise
  image:
    width: 140
    height: 42
  textproducer:
    font:
      size: 25
      color: black
    char:
      length: 5
      space: 5
  #和登录框背景颜色一致
  # background:
  #   clear:
  #     from: 247,247,247
  #     to: 247,247,247
 
landtool:
  single:
    showWarnMessage: false
    kickOut: false  # 是否踢出上次未退出的登录
    ignoreSameIp: true   #是否忽略相同IP下的登录
  log:
    enabled: false
    logServiceUrl: http://192.168.20.106:8081/api/log/logininfo/addLoginInfo
  rabbit:
    enabled: false
    rmq_exchange_name: landtool.radar.warn
    rmq_exchange_type: topic
    rmq_routing_key_prefix_cas: cas.
terra:
  admissionQueryUrl: http://192.168.20.106:8081/api/sys/systeminfo/isAdmitSysByUserid
  
ojdbc:
     jdbcUrl: jdbc:postgresql://192.168.20.106:5432/langfang
     username: postgres
     password: postgres
     updatesql: UPDATE MAGBG.ORG_USER SET PASSWORD='%s', ISFIRSTLOGIN=1 WHERE LOGINNAME='%s'
     querysql: SELECT * FROM MAGBG.ORG_USER WHERE LOGINNAME=?
     driverclass: org.postgresql.Driver