Spring Boot 2.0系列文章(三):Spring Boot 2.0 配置改变

pocket-watch-3156771_1920

前提

好久没更新文章了,本来打算在毕业之前不更新了,这里,对不住了,我又更新了。����

之前翻译了两篇 Spring Boot 2.0 的文章,Spring Boot 2.0系列文章(一):Spring Boot 2.0 迁移指南Spring Boot 2.0系列文章(二):Spring Boot 2.0 新特性详解

今天就继续详细探究 Spring Boot 2.0 里面的改变。

关注我

mark

转载请务必注明原创地址为:http://www.54tianzhisheng.cn/2018/04/13/Spring_Boot_2.0_Configuration_Changelog/

配置改变

配置属性在 1.5.10.RELEASE 和 2.0.0.RELEASE 两个版本之间的改变:

启用键

下面的表是 2.0.0.RELEASE 版本中的弃用键:

KeyReplacement(替代)原因
spring.datasource.hikari.initialization-fail-fast
spring.main.web-environmentspring.main.web-application-type
新键

下面的表是 2.0.0.RELEASE 版本中新的键:

KeyDefault value(默认值)描述
logging.file.max-history0要保存的归档日志文件的最大值
logging.file.max-size10MB日志文件最大容量
logging.pattern.dateformatyyyy-MM-dd HH:mm:ss.SSS日志的日期格式
management.endpoint.auditevents.cache.time-to-live0ms可以缓存响应的最长时间
management.endpoint.auditevents.enabledtrue是否启用 auditevents 端点
management.endpoint.beans.cache.time-to-live0ms可以缓存响应的最长时间
management.endpoint.beans.enabledtrue是否启用 bean 端点
management.endpoint.conditions.cache.time-to-live0ms可以缓存响应的最长时间
management.endpoint.conditions.enabledtrue是否启用 conditions 端点
management.endpoint.configprops.cache.time-to-live0ms可以缓存响应的最长时间
management.endpoint.configprops.enabledtrue是否启用 configprops 端点
management.endpoint.configprops.keys-to-sanitizepassword,secret,key,token, .credentials.,vcap_servicesKeys that should be sanitized
management.endpoint.env.cache.time-to-live0ms可以缓存响应的最长时间
management.endpoint.env.enabledtrue是否启用 env 端点
management.endpoint.env.keys-to-sanitizepassword,secret,key,token, .credentials.,vcap_servicesKeys that should be sanitized.
management.endpoint.flyway.cache.time-to-live0ms可以缓存响应的最长时间
management.endpoint.flyway.enabledtrue是否启用 flyway 端点
management.endpoint.health.cache.time-to-live0ms可以缓存响应的最长时间
management.endpoint.health.enabledtrue是否启用 health 端点
management.endpoint.health.roles角色用于确定用户是否有权显示详细信息
management.endpoint.health.show-detailsnever何时显示完整的健康详情
management.endpoint.heapdump.cache.time-to-live0ms可以缓存响应的最长时间
management.endpoint.heapdump.enabledtrue是否启用 heapdump 端点
management.endpoint.httptrace.cache.time-to-live0ms可以缓存响应的最长时间
management.endpoint.httptrace.enabledtrue是否启用 httptrace 端点
management.endpoint.info.cache.time-to-live0ms可以缓存响应的最长时间
management.endpoint.info.enabledtrue是否启用 info 端点
management.endpoint.jolokia.configJolokia 设置
management.endpoint.jolokia.enabledtrue是否启用 jolokia 端点
management.endpoint.liquibase.cache.time-to-live0ms可以缓存响应的最长时间
management.endpoint.liquibase.enabledtrue是否启用 liquibase 端点
management.endpoint.logfile.cache.time-to-live0ms可以缓存响应的最长时间
management.endpoint.logfile.enabledtrue是否启用 logfile 端点
management.endpoint.logfile.external-file要访问的外部日志文件
management.endpoint.loggers.cache.time-to-live0ms可以缓存响应的最长时间
management.endpoint.loggers.enabledtrue是否启用 loggers 端点
management.endpoint.mappings.cache.time-to-live0ms可以缓存响应的最长时间
management.endpoint.mappings.enabledtrue是否启用 mappings 端点
management.endpoint.metrics.cache.time-to-live0ms可以缓存响应的最长时间
management.endpoint.metrics.enabledtrue是否启用 metrics 端点
management.endpoint.prometheus.cache.time-to-live0ms可以缓存响应的最长时间
management.endpoint.prometheus.enabledtrue是否启用 prometheus 端点
management.endpoint.scheduledtasks.cache.time-to-live0ms可以缓存响应的最长时间
management.endpoint.scheduledtasks.enabledtrue是否启用 scheduledtasks 端点
management.endpoint.sessions.enabledtrue是否启用 sessions 端点
management.endpoint.shutdown.enabledfalse是否启用 shutdown 端点
management.endpoint.threaddump.cache.time-to-live0ms可以缓存响应的最长时间
management.endpoint.threaddump.enabledtrue是否启用 threaddump 端点
management.endpoints.enabled-by-default是否启用或者关闭所有的端点
management.endpoints.jmx.domainorg.springframework.boot端点 JMX 域名
management.endpoints.jmx.exposure.exclude应排除的端点 ID
management.endpoints.jmx.exposure.include*应包含的端点 ID 或全部 *
management.endpoints.jmx.static-names追加到所有表示端点的 MBean 的ObjectName 的静态属性.
management.endpoints.jmx.unique-namesfalse是否确保 ObjectNames 在发生冲突时被修改
management.endpoints.web.base-path/actuatorWeb 端点的基本路径
management.endpoints.web.cors.allow-credentials是否支持凭证
management.endpoints.web.cors.allowed-headersComma-separated list of headers to allow in a request. ‘*’ allows all headers.
management.endpoints.web.cors.allowed-methodsComma-separated list of methods to allow. ‘*’ allows all methods.
management.endpoints.web.cors.allowed-originsComma-separated list of origins to allow. ‘*’ allows all origins.
management.endpoints.web.cors.exposed-headersComma-separated list of headers to include in a response.
management.endpoints.web.cors.max-age1800sHow long the response from a pre-flight request can be cached by clients.
management.endpoints.web.exposure.excludeEndpoint IDs that should be excluded.
management.endpoints.web.exposure.includehealth,infoEndpoint IDs that should be included or ‘*’ for all.
management.endpoints.web.path-mappingMapping between endpoint IDs and the path that should expose them.
management.health.influxdb.enabledtrueWhether to enable InfluxDB health check.
management.health.neo4j.enabledtrueWhether to enable Neo4j health check.
management.health.status.http-mappingMapping of health statuses to HTTP status codes.
management.metrics.binders.files.enabledtrueWhether to enable files metrics.
management.metrics.binders.integration.enabledtrueWhether to enable Spring Integration metrics.
management.metrics.binders.jvm.enabledtrueWhether to enable JVM metrics.
management.metrics.binders.logback.enabledtrueWhether to enable Logback metrics.
management.metrics.binders.processor.enabledtrueWhether to enable processor metrics.
management.metrics.binders.uptime.enabledtrueWhether to enable uptime metrics.
management.metrics.distribution.percentilesSpecific computed non-aggregable percentiles to ship to the backend for meter IDs starting-with the specified name.
management.metrics.distribution.percentiles-histogramWhether meter IDs starting-with the specified name should be publish percentile histograms.
management.metrics.distribution.slaSpecific SLA boundaries for meter IDs starting-with the specified name.
management.metrics.enableWhether meter IDs starting-with the specified name should be enabled.
management.metrics.export.atlas.batch-size10000Number of measurements per request to use for this backend.
management.metrics.export.atlas.config-refresh-frequency10sFrequency for refreshing config settings from the LWC service.
management.metrics.export.atlas.config-time-to-live150sTime to live for subscriptions from the LWC service.
management.metrics.export.atlas.config-urihttp://localhost:7101/ lwc/api/v1/expressions/local-devURI for the Atlas LWC endpoint to retrieve current subscriptions.
management.metrics.export.atlas.connect-timeout1sConnection timeout for requests to this backend.
management.metrics.export.atlas.enabledtrueWhether exporting of metrics to this backend is enabled.
management.metrics.export.atlas.eval-urihttp://localhost:7101/ lwc/api/v1/evaluateURI for the Atlas LWC endpoint to evaluate the data for a subscription.
management.metrics.export.atlas.lwc-enabledfalseWhether to enable streaming to Atlas LWC.
management.metrics.export.atlas.meter-time-to-live15mTime to live for meters that do not have any activity.
management.metrics.export.atlas.num-threads2Number of threads to use with the metrics publishing scheduler.
management.metrics.export.atlas.read-timeout10sRead timeout for requests to this backend.
management.metrics.export.atlas.step1mStep size (i.e. reporting frequency) to use.
management.metrics.export.atlas.urihttp://localhost:7101/ api/v1/publishURI of the Atlas server.
management.metrics.export.datadog.api-keyDatadog API key.
management.metrics.export.datadog.application-keyDatadog application key.
management.metrics.export.datadog.batch-size10000Number of measurements per request to use for this backend.
management.metrics.export.datadog.connect-timeout1sConnection timeout for requests to this backend.
management.metrics.export.datadog.descriptionstrueWhether to publish descriptions metadata to Datadog.
management.metrics.export.datadog.enabledtrueWhether exporting of metrics to this backend is enabled.
management.metrics.export.datadog.host-taginstanceTag that will be mapped to “host” when shipping metrics to Datadog.
management.metrics.export.datadog.num-threads2Number of threads to use with the metrics publishing scheduler.
management.metrics.export.datadog.read-timeout10sRead timeout for requests to this backend.
management.metrics.export.datadog.step1mStep size (i.e. reporting frequency) to use.
management.metrics.export.datadog.urihttps://app.datadoghq.comURI to ship metrics to.
management.metrics.export.ganglia.addressing-modemulticastUDP addressing mode, either unicast or multicast.
management.metrics.export.ganglia.duration-unitsmillisecondsBase time unit used to report durations.
management.metrics.export.ganglia.enabledtrueWhether exporting of metrics to Ganglia is enabled.
management.metrics.export.ganglia.hostlocalhostHost of the Ganglia server to receive exported metrics.
management.metrics.export.ganglia.port8649Port of the Ganglia server to receive exported metrics.
management.metrics.export.ganglia.protocol-version3.1Ganglia protocol version.
management.metrics.export.ganglia.rate-unitssecondsBase time unit used to report rates.
management.metrics.export.ganglia.step1mStep size (i.e. reporting frequency) to use.
management.metrics.export.ganglia.time-to-live1Time to live for metrics on Ganglia.
management.metrics.export.graphite.duration-unitsmillisecondsBase time unit used to report durations.
management.metrics.export.graphite.enabledtrueWhether exporting of metrics to Graphite is enabled.
management.metrics.export.graphite.hostlocalhostHost of the Graphite server to receive exported metrics.
management.metrics.export.graphite.port2004Port of the Graphite server to receive exported metrics.
management.metrics.export.graphite.protocolpickledProtocol to use while shipping data to Graphite.
management.metrics.export.graphite.rate-unitssecondsBase time unit used to report rates.
management.metrics.export.graphite.step1mStep size (i.e. reporting frequency) to use.
management.metrics.export.graphite.tags-as-prefixFor the default naming convention, turn the specified tag keys into part of the metric prefix.
management.metrics.export.influx.auto-create-dbtrueWhether to create the Influx database if it does not exist before attempting to publish metrics to it.
management.metrics.export.influx.batch-size10000Number of measurements per request to use for this backend.
management.metrics.export.influx.compressedtrueWhether to enable GZIP compression of metrics batches published to Influx.
management.metrics.export.influx.connect-timeout1sConnection timeout for requests to this backend.
management.metrics.export.influx.consistencyoneWrite consistency for each point.
management.metrics.export.influx.dbmydbTag that will be mapped to “host” when shipping metrics to Influx.
management.metrics.export.influx.enabledtrueWhether exporting of metrics to this backend is enabled.
management.metrics.export.influx.num-threads2Number of threads to use with the metrics publishing scheduler.
management.metrics.export.influx.passwordLogin password of the Influx server.
management.metrics.export.influx.read-timeout10sRead timeout for requests to this backend.
management.metrics.export.influx.retention-policyRetention policy to use (Influx writes to the DEFAULT retention policy if one is not specified).
management.metrics.export.influx.step1mStep size (i.e. reporting frequency) to use.
management.metrics.export.influx.urihttp://localhost:8086URI of the Influx server.
management.metrics.export.influx.user-nameLogin user of the Influx server.
management.metrics.export.jmx.enabledtrueWhether exporting of metrics to JMX is enabled.
management.metrics.export.jmx.step1mStep size (i.e. reporting frequency) to use.
management.metrics.export.newrelic.account-idNew Relic account ID.
management.metrics.export.newrelic.api-keyNew Relic API key.
management.metrics.export.newrelic.batch-size10000Number of measurements per request to use for this backend.
management.metrics.export.newrelic.connect-timeout1sConnection timeout for requests to this backend.
management.metrics.export.newrelic.enabledtrueWhether exporting of metrics to this backend is enabled.
management.metrics.export.newrelic.num-threads2Number of threads to use with the metrics publishing scheduler.
management.metrics.export.newrelic.read-timeout10sRead timeout for requests to this backend.
management.metrics.export.newrelic.step1mStep size (i.e. reporting frequency) to use.
management.metrics.export.newrelic.urihttps://insights-collector .newrelic.comURI to ship metrics to.
management.metrics.export.prometheus.descriptionstrueWhether to enable publishing descriptions as part of the scrape payload to Prometheus.
management.metrics.export.prometheus.enabledtrueWhether exporting of metrics to Prometheus is enabled.
management.metrics.export.prometheus.step1mStep size (i.e. reporting frequency) to use.
management.metrics.export.signalfx.access-tokenSignalFX access token.
management.metrics.export.signalfx.batch-size10000Number of measurements per request to use for this backend.
management.metrics.export.signalfx.connect-timeout1sConnection timeout for requests to this backend.
management.metrics.export.signalfx.enabledtrueWhether exporting of metrics to this backend is enabled.
management.metrics.export.signalfx.num-threads2Number of threads to use with the metrics publishing scheduler.
management.metrics.export.signalfx.read-timeout10sRead timeout for requests to this backend.
management.metrics.export.signalfx.sourceUniquely identifies the app instance that is publishing metrics to SignalFx.
management.metrics.export.signalfx.step10sStep size (i.e. reporting frequency) to use.
management.metrics.export.signalfx.urihttps://ingest.signalfx.comURI to ship metrics to.
management.metrics.export.simple.enabledtrueWhether, in the absence of any other exporter, exporting of metrics to an in-memory backend is enabled.
management.metrics.export.simple.modecumulativeCounting mode.
management.metrics.export.simple.step1mStep size (i.e. reporting frequency) to use.
management.metrics.export.statsd.enabledtrueWhether exporting of metrics to StatsD is enabled.
management.metrics.export.statsd.flavordatadogStatsD line protocol to use.
management.metrics.export.statsd.hostlocalhostHost of the StatsD server to receive exported metrics.
management.metrics.export.statsd.max-packet-length1400Total length of a single payload should be kept within your network’s MTU.
management.metrics.export.statsd.polling-frequency10sHow often gauges will be polled.
management.metrics.export.statsd.port8125Port of the StatsD server to receive exported metrics.
management.metrics.export.statsd.publish-unchanged-meterstrueWhether to send unchanged meters to the StatsD server.
management.metrics.export.statsd.queue-size2147483647Maximum size of the queue of items waiting to be sent to the StatsD server.
management.metrics.export.wavefront.api-tokenAPI token used when publishing metrics directly to the Wavefront API host.
management.metrics.export.wavefront.batch-size10000Number of measurements per request to use for this backend.
management.metrics.export.wavefront.connect-timeout1sConnection timeout for requests to this backend.
management.metrics.export.wavefront.enabledtrueWhether exporting of metrics to this backend is enabled.
management.metrics.export.wavefront.global-prefixGlobal prefix to separate metrics originating from this app’s white box instrumentation from those originating from other Wavefront integrations when viewed in the Wavefront UI.
management.metrics.export.wavefront.num-threads2Number of threads to use with the metrics publishing scheduler.
management.metrics.export.wavefront.read-timeout10sRead timeout for requests to this backend.
management.metrics.export.wavefront.sourceUnique identifier for the app instance that is the source of metrics being published to Wavefront.
management.metrics.export.wavefront.step10sStep size (i.e. reporting frequency) to use.
management.metrics.export.wavefront.urihttps://longboard.wavefront.comURI to ship metrics to.
management.metrics.use-global-registrytrueWhether auto-configured MeterRegistry implementations should be bound to the global static registry on Metrics.
management.metrics.web.client.max-uri-tags100Maximum number of unique URI tag values allowed.
management.metrics.web.client.requests-metric-namehttp.client.requestsName of the metric for sent requests.
management.metrics.web.server.auto-time-requeststrueWhether requests handled by Spring MVC or WebFlux should be automatically timed.
management.metrics.web.server.requests-metric-namehttp.server.requestsName of the metric for received requests.
management.server.add-application-context-headerfalseAdd the “X-Application-Context” HTTP header in each response.
management.server.addressNetwork address to which the management endpoints should bind.
management.server.portManagement endpoint HTTP port (uses the same port as the application by default).
management.server.servlet.context-pathManagement endpoint context-path (for instance,/management).
management.server.ssl.ciphers
management.server.ssl.client-auth
management.server.ssl.enabled
management.server.ssl.enabled-protocols
management.server.ssl.key-alias
management.server.ssl.key-password
management.server.ssl.key-store
management.server.ssl.key-store-password
management.server.ssl.key-store-provider
management.server.ssl.key-store-type
management.server.ssl.protocol
management.server.ssl.trust-store
management.server.ssl.trust-store-password
management.server.ssl.trust-store-provider
management.server.ssl.trust-store-type
management.trace.http.enabledtrueWhether to enable HTTP request-response tracing.
management.trace.http.includerequest-headers,response-headers, cookies,errorsItems to be included in the trace.
server.error.include-exceptionfalseInclude the “exception” attribute.
server.http2.enabled
server.jetty.accesslog.appendfalseAppend to log.
server.jetty.accesslog.date-formatdd/MMM/yyyy:HH:mm:ss ZTimestamp format of the request log.
server.jetty.accesslog.enabledfalseEnable access log.
server.jetty.accesslog.extended-formatfalseEnable extended NCSA format.
server.jetty.accesslog.file-date-formatDate format to place in log file name.
server.jetty.accesslog.filenameLog filename.
server.jetty.accesslog.localeLocale of the request log.
server.jetty.accesslog.log-cookiesfalseEnable logging of the request cookies.
server.jetty.accesslog.log-latencyfalseEnable logging of request processing time.
server.jetty.accesslog.log-serverfalseEnable logging of the request hostname.
server.jetty.accesslog.retention-period31Number of days before rotated log files are deleted.
server.jetty.accesslog.time-zoneGMTTimezone of the request log.
server.servlet.application-display-nameapplicationDisplay name of the application.
server.servlet.context-parametersServlet context init parameters.
server.servlet.context-pathContext path of the application.
server.servlet.jsp.class-name
server.servlet.jsp.init-parameters
server.servlet.jsp.registered
server.servlet.path/Path of the main dispatcher servlet.
server.servlet.session.cookie.comment
server.servlet.session.cookie.domain
server.servlet.session.cookie.http-only
server.servlet.session.cookie.max-age
server.servlet.session.cookie.name
server.servlet.session.cookie.path
server.servlet.session.cookie.secure
server.servlet.session.persistent
server.servlet.session.store-dir
server.servlet.session.timeout
server.servlet.session.tracking-modes
server.tomcat.max-http-header-size0Maximum size, in bytes, of the HTTP message header.
server.tomcat.resource.cache-ttlTime-to-live of the static resource cache.
server.tomcat.use-relative-redirectsWhether HTTP 1.1 and later location headers generated by a call to sendRedirect will use relative or absolute redirects.
server.undertow.eager-filter-inittrueWhether servlet filters should be initialized on startup.
spring.banner.charsetUTF-8Banner file encoding.
spring.banner.image.heightHeight of the banner image in chars (default based on image height).
spring.banner.image.invertfalseWhether images should be inverted for dark terminal themes.
spring.banner.image.locationclasspath:banner.gifBanner image file location (jpg or png can also be used).
spring.banner.image.margin2Left hand image margin in chars.
spring.banner.image.width76Width of the banner image in chars.
spring.banner.locationclasspath:banner.txtBanner text resource location.
spring.batch.initialize-schemaembeddedDatabase schema initialization mode.
spring.cache.redis.cache-null-valuestrueAllow caching null values.
spring.cache.redis.key-prefixKey prefix.
spring.cache.redis.time-to-liveEntry expiration.
spring.cache.redis.use-key-prefixtrueWhether to use the key prefix when writing to Redis.
spring.config.additional-locationConfig file locations used in addition to the defaults.
spring.data.cassandra.connect-timeoutSocket option: connection time out.
spring.data.cassandra.pool.heartbeat-interval30sHeartbeat interval after which a message is sent on an idle connection to make sure it’s still alive.
spring.data.cassandra.pool.idle-timeout120sIdle timeout before an idle connection is removed.
spring.data.cassandra.pool.max-queue-size256Maximum number of requests that get queued if no connection is available.
spring.data.cassandra.pool.pool-timeout5000msPool timeout when trying to acquire a connection from a host’s pool.
spring.data.cassandra.read-timeoutSocket option: read time out.
spring.data.cassandra.repositories.typeautoType of Cassandra repositories to enable.
spring.data.couchbase.repositories.typeautoType of Couchbase repositories to enable.
spring.data.mongodb.repositories.typeautoType of Mongo repositories to enable.
spring.data.neo4j.auto-indexnoneAuto index mode.
spring.data.web.pageable.default-page-size20Default page size.
spring.data.web.pageable.max-page-size2000Maximum page size to be accepted.
spring.data.web.pageable.one-indexed-parametersfalseWhether to expose and assume 1-based page number indexes.
spring.data.web.pageable.page-parameterpagePage index parameter name.
spring.data.web.pageable.prefixGeneral prefix to be prepended to the page number and page size parameters.
spring.data.web.pageable.qualifier-delimiter_Delimiter to be used between the qualifier and the actual page number and size properties.
spring.data.web.pageable.size-parametersizePage size parameter name.
spring.data.web.sort.sort-parametersortSort parameter name.
spring.datasource.hikari.initialization-fail-timeout
spring.datasource.hikari.metrics-tracker-factory
spring.datasource.hikari.scheduled-executor
spring.datasource.hikari.scheduled-executor-service
spring.datasource.hikari.schema
spring.datasource.initialization-modeembeddedInitialize the datasource with available DDL and DML scripts.
spring.devtools.restart.log-condition-evaluation-deltatrueWhether to log the condition evaluation delta upon restart.
spring.flyway.baseline-description
spring.flyway.baseline-on-migrate
spring.flyway.baseline-version
spring.flyway.check-locationtrueWhether to check that migration scripts location exists.
spring.flyway.clean-disabled
spring.flyway.clean-on-validation-error
spring.flyway.dry-run-output
spring.flyway.enabledtrue是否启用 flyway.
spring.flyway.encoding
spring.flyway.error-handlers
spring.flyway.group
spring.flyway.ignore-future-migrations
spring.flyway.ignore-missing-migrations
spring.flyway.init-sqlsSQL statements to execute to initialize a connection immediately after obtaining it.
spring.flyway.installed-by
spring.flyway.locations
spring.flyway.mixed
spring.flyway.out-of-order
spring.flyway.password如果您想让 Flyway 创建自己的DataSource,可以使用 JDBC 密码
spring.flyway.placeholder-prefix
spring.flyway.placeholder-replacement
spring.flyway.placeholder-suffix
spring.flyway.placeholders
spring.flyway.repeatable-sql-migration-prefix
spring.flyway.schemas
spring.flyway.skip-default-callbacks
spring.flyway.skip-default-resolvers
spring.flyway.sql-migration-prefix
spring.flyway.sql-migration-separator
spring.flyway.sql-migration-suffix
spring.flyway.sql-migration-suffixes
spring.flyway.table
spring.flyway.target
spring.flyway.undo-sql-migration-prefix
spring.flyway.url要迁移的数据库的 JDBC URL
spring.flyway.user登录要迁移数据库的用户名
spring.flyway.validate-on-migrate
spring.gson.date-format序列化 Date 对象时使用的格式
spring.gson.disable-html-escapingWhether to disable the escaping of HTML characters such as ‘<’, ‘>’, etc.
spring.gson.disable-inner-class-serializationWhether to exclude inner classes during serialization.
spring.gson.enable-complex-map-key-serializationWhether to enable serialization of complex map keys (i.e. non-primitives).
spring.gson.exclude-fields-without-expose-annotationWhether to exclude all fields from consideration for serialization or deserialization that do not have the “Expose” annotation.
spring.gson.field-naming-policyNaming policy that should be applied to an object’s field during serialization and deserialization.
spring.gson.generate-non-executable-jsonWhether to generate non executable JSON by prefixing the output with some special text.
spring.gson.lenientWhether to be lenient about parsing JSON that doesn’t conform to RFC 4627.
spring.gson.long-serialization-policySerialization policy for Long and long types.
spring.gson.pretty-printingWhether to output serialized JSON that fits in a page for pretty printing.
spring.gson.serialize-nullsWhether to serialize null fields.
spring.influx.passwordInflux 登录用户名密码
spring.influx.urlInfluxDB 数据库 URL
spring.influx.userInflux 登录用户名
spring.integration.jdbc.initialize-schemaembeddedDatabase schema initialization mode.
spring.integration.jdbc.schemaclasspath:org/springframework/ integration/jdbc/schema-@@platform@@.sqlPath to the SQL file to use to initialize the database schema.
spring.jdbc.template.fetch-size-1Number of rows that should be fetched from the database when more rows are needed.
spring.jdbc.template.max-rows-1Maximum number of rows.
spring.jdbc.template.query-timeoutQuery timeout.
spring.jpa.mapping-resourcesMapping resources (equivalent to “mapping-file” entries in persistence.xml).
spring.jta.atomikos.datasource.concurrent-connection-validation
spring.jta.atomikos.properties.allow-sub-transactionstrueSpecify whether sub-transactions are allowed.
spring.jta.atomikos.properties.default-max-wait-time-on-shutdownHow long should normal shutdown (no-force) wait for transactions to complete.
spring.jta.atomikos.properties.recovery.delay10000msDelay between two recovery scans.
spring.jta.atomikos.properties.recovery.forget-orphaned-log-entries-delay86400000msDelay after which recovery can cleanup pending (‘orphaned’) log entries.
spring.jta.atomikos.properties.recovery.max-retries5Number of retry attempts to commit the transaction before throwing an exception.
spring.jta.atomikos.properties.recovery.retry-interval10000msDelay between retry attempts.
spring.kafka.admin.client-idID to pass to the server when making requests.
spring.kafka.admin.fail-fastfalseWhether to fail fast if the broker is not available on startup.
spring.kafka.admin.propertiesAdditional admin-specific properties used to configure the client.
spring.kafka.admin.ssl.key-passwordPassword of the private key in the key store file.
spring.kafka.admin.ssl.keystore-locationLocation of the key store file.
spring.kafka.admin.ssl.keystore-passwordStore password for the key store file.
spring.kafka.admin.ssl.truststore-locationLocation of the trust store file.
spring.kafka.admin.ssl.truststore-passwordStore password for the trust store file.
spring.kafka.consumer.propertiesAdditional consumer-specific properties used to configure the client.
spring.kafka.consumer.ssl.key-passwordPassword of the private key in the key store file.
spring.kafka.consumer.ssl.keystore-locationLocation of the key store file.
spring.kafka.consumer.ssl.keystore-passwordStore password for the key store file.
spring.kafka.consumer.ssl.truststore-locationLocation of the trust store file.
spring.kafka.consumer.ssl.truststore-passwordStore password for the trust store file.
spring.kafka.jaas.control-flagrequiredControl flag for login configuration.
spring.kafka.jaas.enabledfalseWhether to enable JAAS configuration.
spring.kafka.jaas.login-modulecom.sun.security.auth .module.Krb5LoginModuleLogin module.
spring.kafka.jaas.optionsAdditional JAAS options.
spring.kafka.listener.client-idPrefix for the listener’s consumer client.id property.
spring.kafka.listener.idle-event-intervalTime between publishing idle consumer events (no data received).
spring.kafka.listener.log-container-configWhether to log the container configuration during initialization (INFO level).
spring.kafka.listener.monitor-intervalTime between checks for non-responsive consumers.
spring.kafka.listener.no-poll-thresholdMultiplier applied to “pollTimeout” to determine if a consumer is non-responsive.
spring.kafka.listener.typesingleListener type.
spring.kafka.producer.propertiesAdditional producer-specific properties used to configure the client.
spring.kafka.producer.ssl.key-passwordPassword of the private key in the key store file.
spring.kafka.producer.ssl.keystore-locationLocation of the key store file.
spring.kafka.producer.ssl.keystore-passwordStore password for the key store file.
spring.kafka.producer.ssl.truststore-locationLocation of the trust store file.
spring.kafka.producer.ssl.truststore-passwordStore password for the trust store file.
spring.kafka.producer.transaction-id-prefixWhen non empty, enables transaction support for producer.
spring.ldap.anonymous-read-onlyfalseWhether read-only operations should use an anonymous environment.
spring.liquibase.change-logclasspath:/db/changelog/ db.changelog-master.yamlChange log configuration path.
spring.liquibase.check-change-log-locationtrueWhether to check that the change log location exists.
spring.liquibase.contextsComma-separated list of runtime contexts to use.
spring.liquibase.default-schemaDefault database schema.
spring.liquibase.drop-firstfalseWhether to first drop the database schema.
spring.liquibase.enabledtrueWhether to enable Liquibase support.
spring.liquibase.labelsComma-separated list of runtime labels to use.
spring.liquibase.parametersChange log parameters.
spring.liquibase.passwordLogin password of the database to migrate.
spring.liquibase.rollback-fileFile to which rollback SQL is written when an update is performed.
spring.liquibase.urlJDBC URL of the database to migrate.
spring.liquibase.userLogin user of the database to migrate.
spring.main.web-application-typeFlag to explicitly request a specific type of web application.
spring.messages.cache-durationLoaded resource bundle files cache duration.
spring.messages.use-code-as-default-messagefalseWhether to use the message code as the default message instead of throwing a “NoSuchMessageException”.
spring.mvc.contentnegotiation.favor-parameterfalseWhether a request parameter (“format” by default) should be used to determine the requested media type.
spring.mvc.contentnegotiation.favor-path-extensionfalseWhether the path extension in the URL path should be used to determine the requested media type.
spring.mvc.contentnegotiation.media-typesMap file extensions to media types for content negotiation.
spring.mvc.contentnegotiation.parameter-nameQuery parameter name to use when “favor-parameter” is enabled.
spring.mvc.pathmatch.use-registered-suffix-patternfalseWhether suffix pattern matching should work only against extensions registered with “spring.mvc.contentnegotiation.media-types.*”.
spring.mvc.pathmatch.use-suffix-patternfalseWhether to use suffix pattern match (“.*”) when matching patterns to requests.
spring.quartz.jdbc.initialize-schemaembeddedDatabase schema initialization mode.
spring.quartz.jdbc.schemaclasspath:org/quartz/impl/ jdbcjobstore/ tables_@@platform@@.sqlPath to the SQL file to use to initialize the database schema.
spring.quartz.job-store-typememoryQuartz job store type.
spring.quartz.propertiesAdditional Quartz Scheduler properties.
spring.rabbitmq.listener.direct.acknowledge-modeAcknowledge mode of container.
spring.rabbitmq.listener.direct.auto-startuptrueWhether to start the container automatically on startup.
spring.rabbitmq.listener.direct.consumers-per-queueNumber of consumers per queue.
spring.rabbitmq.listener.direct.default-requeue-rejectedWhether rejected deliveries are re-queued by default.
spring.rabbitmq.listener.direct.idle-event-intervalHow often idle container events should be published.
spring.rabbitmq.listener.direct.prefetchNumber of messages to be handled in a single request.
spring.rabbitmq.listener.direct.retry.enabledfalseWhether publishing retries are enabled.
spring.rabbitmq.listener.direct.retry.initial-interval1000msDuration between the first and second attempt to deliver a message.
spring.rabbitmq.listener.direct.retry.max-attempts3Maximum number of attempts to deliver a message.
spring.rabbitmq.listener.direct.retry.max-interval10000msMaximum duration between attempts.
spring.rabbitmq.listener.direct.retry.multiplier1Multiplier to apply to the previous retry interval.
spring.rabbitmq.listener.direct.retry.statelesstrueWhether retries are stateless or stateful.
spring.rabbitmq.listener.typesimpleListener container type.
spring.rabbitmq.ssl.key-store-typePKCS12Key store type.
spring.rabbitmq.ssl.trust-store-typeJKSTrust store type.
spring.rabbitmq.template.exchangeName of the default exchange to use for send operations.
spring.rabbitmq.template.routing-keyValue of a default routing key to use for send operations.
spring.reactor.stacktrace-mode.enabledfalseWhether Reactor should collect stacktrace information at runtime.
spring.redis.jedis.pool.max-active8Maximum number of connections that can be allocated by the pool at a given time.
spring.redis.jedis.pool.max-idle8Maximum number of “idle” connections in the pool.
spring.redis.jedis.pool.max-wait-1msMaximum amount of time a connection allocation should block before throwing an exception when the pool is exhausted.
spring.redis.jedis.pool.min-idle0Target for the minimum number of idle connections to maintain in the pool.
spring.redis.lettuce.pool.max-active8Maximum number of connections that can be allocated by the pool at a given time.
spring.redis.lettuce.pool.max-idle8Maximum number of “idle” connections in the pool.
spring.redis.lettuce.pool.max-wait-1msMaximum amount of time a connection allocation should block before throwing an exception when the pool is exhausted.
spring.redis.lettuce.pool.min-idle0Target for the minimum number of idle connections to maintain in the pool.
spring.redis.lettuce.shutdown-timeout100msShutdown timeout.
spring.resources.cache.cachecontrol.cache-privateIndicate that the response message is intended for a single user and must not be stored by a shared cache.
spring.resources.cache.cachecontrol.cache-publicIndicate that any cache may store the response.
spring.resources.cache.cachecontrol.max-ageMaximum time the response should be cached, in seconds if no duration suffix is not specified.
spring.resources.cache.cachecontrol.must-revalidateIndicate that once it has become stale, a cache must not use the response without re-validating it with the server.
spring.resources.cache.cachecontrol.no-cacheIndicate that the cached response can be reused only if re-validated with the server.
spring.resources.cache.cachecontrol.no-storeIndicate to not cache the response in any case.
spring.resources.cache.cachecontrol.no-transformIndicate intermediaries (caches and others) that they should not transform the response content.
spring.resources.cache.cachecontrol.proxy-revalidateSame meaning as the “must-revalidate” directive, except that it does not apply to private caches.
spring.resources.cache.cachecontrol.s-max-ageMaximum time the response should be cached by shared caches, in seconds if no duration suffix is not specified.
spring.resources.cache.cachecontrol.stale-if-errorMaximum time the response may be used when errors are encountered, in seconds if no duration suffix is not specified.
spring.resources.cache.cachecontrol.stale-while-revalidateMaximum time the response can be served after it becomes stale, in seconds if no duration suffix is not specified.
spring.resources.cache.periodCache period for the resources served by the resource handler.
spring.security.filter.dispatcher-typesasync,error,requestSecurity filter chain dispatcher types.
spring.security.filter.order-100Security filter chain order.
spring.security.oauth2.client.providerOAuth provider details.
spring.security.oauth2.client.registrationOAuth client registrations.
spring.security.user.nameuserDefault user name.
spring.security.user.passwordPassword for the default user name.
spring.security.user.rolesGranted roles for the default user name.
spring.servlet.multipart.enabledtrueWhether to enable support of multipart uploads.
spring.servlet.multipart.file-size-threshold0Threshold after which files are written to disk.
spring.servlet.multipart.locationIntermediate location of uploaded files.
spring.servlet.multipart.max-file-size1MBMax file size.
spring.servlet.multipart.max-request-size10MBMax request size.
spring.servlet.multipart.resolve-lazilyfalseWhether to resolve the multipart request lazily at the time of file or parameter access.
spring.session.jdbc.cleanup-cron0 * * * * *Cron expression for expired session cleanup job.
spring.session.jdbc.initialize-schemaembeddedDatabase schema initialization mode.
spring.session.mongodb.collection-namesessionsCollection name used to store sessions.
spring.session.redis.cleanup-cron0 * * * * *Cron expression for expired session cleanup job.
spring.session.servlet.filter-dispatcher-typesasync,error,requestSession repository filter dispatcher types.
spring.session.servlet.filter-orderSession repository filter order.
spring.thymeleaf.enable-spring-el-compilerfalseEnable the SpringEL compiler in SpringEL expressions.
spring.thymeleaf.reactive.chunked-mode-view-namesComma-separated list of view names (patterns allowed) that should be the only ones executed in CHUNKED mode when a max chunk size is set.
spring.thymeleaf.reactive.full-mode-view-namesComma-separated list of view names (patterns allowed) that should be executed in FULL mode even if a max chunk size is set.
spring.thymeleaf.reactive.max-chunk-size0Maximum size of data buffers used for writing to the response, in bytes.
spring.thymeleaf.reactive.media-typesMedia types supported by the view technology.
spring.thymeleaf.servlet.content-typetext/htmlContent-Type value written to HTTP responses.
spring.webflux.date-formatDate format to use.
spring.webflux.static-path-pattern/**Path pattern used for static resources.
spring.webservices.wsdl-locationsComma-separated list of locations of WSDLs and accompanying XSDs to be exposed as beans.
KeyReplacement(替代)原因
banner.charsetspring.banner.charset
banner.image.heightspring.banner.image.height
banner.image.invertspring.banner.image.invert
banner.image.locationspring.banner.image.location
banner.image.marginspring.banner.image.margin
banner.image.widthspring.banner.image.width
banner.locationspring.banner.location
endpoints.actuator.enabledactuator 端点不再可用
endpoints.actuator.pathactuator 端点不再可用
endpoints.actuator.sensitiveactuator 端点不再可用
endpoints.auditevents.enabledmanagement.endpoint. auditevents.enabled
endpoints.auditevents.pathmanagement.endpoints.web.path-mapping.auditevents
endpoints.auditevents.sensitive终端敏感标志不再可定制,因为Spring Boot 不再提供可自定义的安全自动配置
endpoints.autoconfig.enabledmanagement.endpoint. conditions.enabled
endpoints.autoconfig.id端点标识符不再可定制
endpoints.autoconfig.pathmanagement.endpoints.web.path-mapping.conditions
endpoints.autoconfig.sensitive终端敏感标志不再可定制,因为Spring Boot 不再提供可自定义的安全自动配置
endpoints.beans.enabledmanagement.endpoint.beans.enabled
endpoints.beans.id端点标识符不再可定制
endpoints.beans.pathmanagement.endpoints.web.path-mapping.beans
endpoints.beans.sensitive终端敏感标志不再可定制,因为Spring Boot 不再提供可自定义的安全自动配置
endpoints.configprops.enabledmanagement.endpoint. configprops.enabled
endpoints.configprops.id端点标识符不再可定制
endpoints.configprops.keys-to-sanitizemanagement.endpoint. configprops.keys-to-sanitize
endpoints.configprops.pathmanagement.endpoints.web.path-mapping.configprops
endpoints.configprops.sensitive终端敏感标志不再可定制,因为Spring Boot 不再提供可自定义的安全自动配置
endpoints.cors.allow-credentialsmanagement.endpoints. web.cors.allow-credentials
endpoints.cors.allowed-headersmanagement.endpoints. web.cors.allowed-headers
endpoints.cors.allowed-methodsmanagement.endpoints. web.cors.allowed-methods
endpoints.cors.allowed-originsmanagement.endpoints. web.cors.allowed-origins
endpoints.cors.exposed-headersmanagement.endpoints. web.cors.exposed-headers
endpoints.cors.max-agemanagement.endpoints. web.cors.max-age
endpoints.docs.curies.enableddocs 端点不再可用
endpoints.docs.enableddocs 端点不再可用
endpoints.docs.pathdocs 端点不再可用
endpoints.docs.sensitivedocs 端点不再可用
endpoints.dump.enabledmanagement.endpoint. threaddump.enabled
endpoints.dump.id端点标识符不再可定制
endpoints.dump.pathmanagement.endpoints.web.path-mapping.dump
endpoints.dump.sensitive终端敏感标志不再可定制,因为Spring Boot 不再提供可自定义的安全自动配置
endpoints.enabledmanagement.endpoints. enabled-by-default
endpoints.env.enabledmanagement.endpoint.env.enabled
endpoints.env.id端点标识符不再可定制
endpoints.env.keys-to-sanitizemanagement.endpoint. env.keys-to-sanitize
endpoints.env.pathmanagement.endpoints. web.path-mapping.env
endpoints.env.sensitive终端敏感标志不再可定制,因为Spring Boot 不再提供可自定义的安全自动配置
endpoints.flyway.enabledmanagement.endpoint.flyway.enabled
endpoints.flyway.id端点标识符不再可定制
endpoints.flyway.sensitive终端敏感标志不再可定制,因为Spring Boot 不再提供可自定义的安全自动配置
endpoints.health.enabledmanagement.endpoint.health.enabled
endpoints.health.id端点标识符不再可定制
endpoints.health.mappingmanagement.health.status.http-mapping
endpoints.health.pathmanagement.endpoints.web.path-mapping.health
endpoints.health.sensitive终端敏感标志不再可定制,因为Spring Boot 不再提供可自定义的安全自动配置
endpoints.health.time-to-livemanagement.endpoint. health.cache.time-to-live
endpoints.heapdump.enabledmanagement.endpoint.heapdump.enabled
endpoints.heapdump.pathmanagement.endpoints.web.path-mapping.heapdump
endpoints.heapdump.sensitive终端敏感标志不再可定制,因为Spring Boot 不再提供可自定义的安全自动配置
endpoints.hypermedia.enabledActuator 中的 Hypermedia 不再可用
endpoints.info.enabledmanagement.endpoint.info.enabled
endpoints.info.id端点标识符不再可定制
endpoints.info.pathmanagement.endpoints.web.path-mapping.info
endpoints.info.sensitive终端敏感标志不再可定制,因为Spring Boot 不再提供可自定义的安全自动配置
endpoints.jmx.domainmanagement.endpoints.jmx.domain
endpoints.jmx.enabledmanagement.endpoints. jmx.exposure.exclude
endpoints.jmx.static-namesmanagement.endpoints. jmx.static-names
endpoints.jmx.unique-namesmanagement.endpoints. jmx.unique-names
endpoints.jolokia.enabledmanagement.endpoint. jolokia.enabled
endpoints.jolokia.pathmanagement.endpoints.web.path-mapping.jolokia
endpoints.jolokia.sensitive终端敏感标志不再可定制,因为Spring Boot 不再提供可自定义的安全自动配置
endpoints.liquibase.enabledmanagement.endpoint. liquibase.enabled
endpoints.liquibase.id端点标识符不再可定制
endpoints.liquibase.sensitive终端敏感标志不再可定制,因为Spring Boot 不再提供可自定义的安全自动配置
endpoints.logfile.enabledmanagement.endpoint. logfile.enabled
endpoints.logfile.external-filemanagement.endpoint. logfile.external-file
endpoints.logfile.pathmanagement.endpoints.web.path-mapping.logfile
endpoints.logfile.sensitive终端敏感标志不再可定制,因为Spring Boot 不再提供可自定义的安全自动配置
endpoints.loggers.enabledmanagement.endpoint. loggers.enabled
endpoints.loggers.id端点标识符不再可定制
endpoints.loggers.pathmanagement.endpoints.web.path-mapping.loggers
endpoints.loggers.sensitive终端敏感标志不再可定制,因为Spring Boot 不再提供可自定义的安全自动配置
endpoints.mappings.enabledmanagement.endpoint. mappings.enabled
endpoints.mappings.id端点标识符不再可定制
endpoints.mappings.pathmanagement.endpoints.web.path-mapping.mappings
endpoints.mappings.sensitive终端敏感标志不再可定制,因为Spring Boot 不再提供可自定义的安全自动配置
endpoints.metrics.enabledmanagement.endpoint.metrics.enabled
endpoints.metrics.filter.counter-submissionsMetrics support 现在使用千分尺
endpoints.metrics.filter.enabledMetrics support 现在使用千分尺
endpoints.metrics.filter.gauge-submissionsMetrics support 现在使用千分尺
endpoints.metrics.id端点标识符不再可定制
endpoints.metrics.pathmanagement.endpoints.web.path-mapping.metrics
endpoints.metrics.sensitive终端敏感标志不再可定制,因为Spring Boot 不再提供可自定义的安全自动配置
endpoints.sensitive终端敏感标志不再可定制,因为Spring Boot 不再提供可自定义的安全自动配置
endpoints.shutdown.enabledmanagement.endpoint. shutdown.enabled
endpoints.shutdown.id端点标识符不再可定制
endpoints.shutdown.pathmanagement.endpoints.web.path-mapping.shutdown
endpoints.shutdown.sensitive终端敏感标志不再可定制,因为Spring Boot 不再提供可自定义的安全自动配置
endpoints.trace.enabledmanagement.endpoint. httptrace.enabled
endpoints.trace.filter.enabledmanagement.trace.http.enabled
endpoints.trace.id端点标识符不再可定制
endpoints.trace.pathmanagement.endpoints.web.path-mapping.httptrace
endpoints.trace.sensitive终端敏感标志不再可定制,因为Spring Boot 不再提供可自定义的安全自动配置
error.pathPath of the error controller.
flyway.baseline-descriptionspring.flyway.baseline-description
flyway.baseline-on-migratespring.flyway.baseline-on-migrate
flyway.baseline-versionspring.flyway.baseline-version
flyway.check-locationspring.flyway.check-location
flyway.clean-on-validation-errorspring.flyway. clean-on-validation-error
flyway.enabledspring.flyway.enabled
flyway.encodingspring.flyway.encoding
flyway.ignore-failed-future-migration
flyway.init-sqlsspring.flyway.init-sqls
flyway.locationsspring.flyway.locations
flyway.out-of-orderspring.flyway.out-of-order
flyway.passwordspring.flyway.password
flyway.placeholder-prefixspring.flyway.placeholder-prefix
flyway.placeholder-replacementspring.flyway.placeholder-replacement
flyway.placeholder-suffixspring.flyway.placeholder-suffix
flyway.placeholdersspring.flyway.placeholders
flyway.schemasspring.flyway.schemas
flyway.sql-migration-prefixspring.flyway.sql-migration-prefix
flyway.sql-migration-separatorspring.flyway.sql-migration-separator
flyway.sql-migration-suffixspring.flyway.sql-migration-suffixes
flyway.tablespring.flyway.table
flyway.targetspring.flyway.target
flyway.urlspring.flyway.url
flyway.userspring.flyway.user
flyway.validate-on-migratespring.flyway.validate-on-migrate
jolokia.configmanagement.endpoint.jolokia.config
liquibase.change-logspring.liquibase.change-log
liquibase.check-change-log-locationspring.liquibase.check-change-log-location
liquibase.contextsspring.liquibase.contexts
liquibase.default-schemaspring.liquibase.default-schema
liquibase.drop-firstspring.liquibase.drop-first
liquibase.enabledspring.liquibase.enabled
liquibase.labelsspring.liquibase.labels
liquibase.parametersspring.liquibase.parameters
liquibase.passwordspring.liquibase.password
liquibase.rollback-filespring.liquibase.rollback-file
liquibase.urlspring.liquibase.url
liquibase.userspring.liquibase.user
management.add-application-context-headermanagement.server.add-application-context-header
management.addressmanagement.server.address
management.context-pathmanagement.server. servlet.context-path
management.portmanagement.server.port
management.security.enabled现在提供全局 security 自动配置。
management.security.rolessecurity 自动配置不再可定制
management.security.sessionssecurity 自动配置不再可定制
management.shell.auth.jaas.domainCRaSH 支持不再可用
management.shell.auth.key.pathCRaSH 支持不再可用
management.shell.auth.simple.user.nameCRaSH 支持不再可用
management.shell.auth.simple.user.passwordCRaSH 支持不再可用
management.shell.auth.spring.rolesCRaSH 支持不再可用
management.shell.auth.typeCRaSH 支持不再可用
management.shell.ssh.auth-timeoutCRaSH 支持不再可用
management.shell.ssh.enabledCRaSH 支持不再可用
management.shell.ssh.idle-timeoutCRaSH 支持不再可用
management.shell.ssh.key-pathCRaSH 支持不再可用
management.shell.ssh.portCRaSH 支持不再可用
management.shell.telnet.enabledCRaSH 支持不再可用
management.shell.telnet.portCRaSH 支持不再可用
management.ssl.ciphersmanagement.server.ssl.ciphers
management.ssl.client-authmanagement.server.ssl.client-auth
management.ssl.enabledmanagement.server.ssl.enabled
management.ssl.enabled-protocolsmanagement.server.ssl.enabled-protocols
management.ssl.key-aliasmanagement.server.ssl.key-alias
management.ssl.key-passwordmanagement.server.ssl.key-password
management.ssl.key-storemanagement.server.ssl.key-store
management.ssl.key-store-passwordmanagement.server.ssl.key-store-password
management.ssl.key-store-providermanagement.server.ssl.key-store-provider
management.ssl.key-store-typemanagement.server.ssl.key-store-type
management.ssl.protocolmanagement.server.ssl.protocol
management.ssl.trust-storemanagement.server.ssl.trust-store
management.ssl.trust-store-passwordmanagement.server.ssl.trust-store-password
management.ssl.trust-store-providermanagement.server.ssl.trust-store-provider
management.ssl.trust-store-typemanagement.server.ssl.trust-store-type
management.trace.includemanagement.trace.http.include
security.basic.authorize-modesecurity 自动配置不再可定制
security.basic.enabledsecurity 自动配置不再可定制
security.basic.pathsecurity 自动配置不再可定制
security.basic.realmsecurity 自动配置不再可定制
security.enable-csrfsecurity 自动配置不再可定制
security.filter-dispatcher-typesspring.security. filter.dispatcher-types
security.filter-orderspring.security.filter.order
security.headers.cachesecurity 自动配置不再可定制
security.headers.content-security-policysecurity 自动配置不再可定制
security.headers.content-security-policy-modesecurity 自动配置不再可定制
security.headers.content-typesecurity 自动配置不再可定制
security.headers.framesecurity 自动配置不再可定制
security.headers.hstssecurity 自动配置不再可定制
security.headers.xsssecurity 自动配置不再可定制
security.ignoredsecurity 自动配置不再可定制
security.oauth2. authorization.check-token-accessSpring Security 访问规则用于检查令牌端点(例如,SpEL表达式,如“isAuthenticated()”)
security.oauth2.authorization.realm客户端身份验证的领域名称
security.oauth2.authorization.token-key-accessSpring Security访问规则用于检查令牌端点(例如,SpEL表达式,如“isAuthenticated()”)
security.oauth2.client.access-token-uri
security.oauth2.client.access-token-validity-seconds
security.oauth2.client.additional-information
security.oauth2.client.authentication-scheme
security.oauth2.client.authorities
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

zhisheng_blog

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值