##
|
# CAS Spring Cloud Config Client
|
#
|
# Name of the application for which environment settings and properties should be fetched.
|
# This should map to a cas.yml or cas.properties file.
|
spring.application.name=cas
|
spring.cloud.config.fail-fast=true
|
|
##
|
# CAS Embedded Cloud Config Server
|
#
|
# Native profile in the Config Server that doesn't use Git, but just loads the
|
# config files from the local classpath or file system.
|
#
|
#从外部文件加载配置
|
spring.profiles.active=native
|
#spring.cloud.config.server.native.searchLocations=file:/E:/etc/cas/config
|
#spring.cloud.config.server.native.searchLocations=file:/root/soft/etc/cas/config
|
spring.cloud.config.server.native.searchLocations=file:/D:/etc/cas/config
|
#spring.cloud.config.server.native.searchLocations=file:/D:/tomcat8.0-CAS5.0.3/etc/cas/config
|
|
#从git仓库加载配置
|
# spring.profiles.active=default
|
# spring.cloud.config.server.git.uri=https://github.com/repoName/config
|
# spring.cloud.config.server.git.uri=file://${user.home}/config
|
# spring.cloud.config.server.git.username=
|
# spring.cloud.config.server.git.password=
|
|
|
spring.cloud.config.server.bootstrap=true
|
spring.cloud.config.server.prefix=/configserver
|
spring.jmx.default-domain=server
|
|
|
#samlIdp
|
#cas.authn.samlIdp.entityId=https://192.168.0.133:8443/cas/idp
|
#cas.authn.samlIdp.hostName=192.168.0.133:8443/cas
|
#cas.authn.samlIdp.scope=192.168.0.133
|
#用域名,会生成idp-metadata.xml
|
#cas.authn.samlIdp.entityId=https://lc.landtool.com/cas/idp
|
#cas.authn.samlIdp.hostName=lc.landtool.com:8443/cas
|
#cas.authn.samlIdp.scope=lc.landtool.com
|
|
#cas.authn.samlIdp.metadata.cacheExpirationMinutes=30
|
#cas.authn.samlIdp.metadata.failFast=true
|
#cas.authn.samlIdp.metadata.location=E:\\etc\\cas\\saml
|
cas.authn.samlIdp.metadata.location=D:\\etc\\cas\\saml
|
#cas.authn.samlIdp.metadata.location=D:\\tomcat8.0-CAS5.0.3\\etc\\cas\\saml
|
|
#cas.authn.samlIdp.metadata.privateKeyAlgName=RSA
|
#cas.authn.samlIdp.metadata.requireValidMetadata=true
|
|
# cas.authn.samlIdp.metadata.basicAuthnUsername=
|
# cas.authn.samlIdp.metadata.basicAuthnPassword=
|
# cas.authn.samlIdp.metadata.supportedContentTypes=
|
|
# cas.authn.samlIdp.logout.forceSignedLogoutRequests=true
|
# cas.authn.samlIdp.logout.singleLogoutCallbacksDisabled=false
|
|
# cas.authn.samlIdp.response.skewAllowance=0
|
# cas.authn.samlIdp.response.signError=false
|
# cas.authn.samlIdp.response.overrideSignatureCanonicalizationAlgorithm=
|
# cas.authn.samlIdp.response.useAttributeFriendlyName=true
|