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
|