# ====================  HTTPS ====================
server.ssl.enabled=false
server.port=8443

# ==================== CAS  ====================
# ͨ HTTP  TGC Cookie
cas.tgc.secure=false
# ʽָ TGC Cookie  Path Ϊ /casĬգĿ¼ȡֵ
# Զ¼ /cas/api/login  Cookie  Path=/cas/api/ /cas/login ʱ Cookie»Ҫٵ¼
cas.tgc.path=/cas

#  JSON ļطעϢ
cas.serviceRegistry.initFromJson=true

# ==================== ֤ ====================
# ̬ûбʽusername::password
cas.authn.accept.users=casuser::Mellon

# ==================== ־ãѡ ====================
# ־𣬱ڵ
logging.level.org.apereo.cas=DEBUG

# ==================== Redis ãSpring Boot ׼ã ====================

spring.redis.host=localhost
spring.redis.port=6379
spring.redis.password=123456
spring.redis.database=0
spring.redis.timeout=5000
spring.redis.jedis.pool.max-active=8
spring.redis.jedis.pool.max-idle=8
spring.redis.jedis.pool.min-idle=0



# ==================== JDBC ֤ ====================
# ѯ SQLûȡûϢ
cas.authn.jdbc.query[0].sql=select * from sys_user where username=?
# ֶ
cas.authn.jdbc.query[0].fieldPassword=password
# ˺ŽֶΣѡ1ʾã
cas.authn.jdbc.query[0].fieldDisabled=disabled
# ֶΣѡ1ʾڣ
cas.authn.jdbc.query[0].fieldExpired=expired

# ݿϢ
cas.authn.jdbc.query[0].url=jdbc:mysql://127.0.0.1:3306/yunhai_base?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
cas.authn.jdbc.query[0].user=root
cas.authn.jdbc.query[0].password=123456
cas.authn.jdbc.query[0].driverClass=com.mysql.jdbc.Driver
# ݿⷽ
cas.authn.jdbc.query[0].dialect=org.hibernate.dialect.MySQLDialect

# ==================== ܲԣʵã ====================
# ݿģΪ NONE
cas.authn.jdbc.query[0].passwordEncoder.type=NONE
#  MD5 ܣʹ
# cas.authn.jdbc.query[0].passwordEncoder.type=DEFAULT
# cas.authn.jdbc.query[0].passwordEncoder.encodingAlgorithm=MD5
#cas.authn.sso.excluded-paths=/api/**
