Polish
Closes gh-10282
This commit is contained in:
committed by
Stephane Nicoll
parent
d89f3f9f2a
commit
bd2d08bcd0
@@ -1094,7 +1094,7 @@ content into your application; rather pick only the properties that you need.
|
||||
endpoints.configprops.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.
|
||||
endpoints.configprops.enabled= # Enable the configprops endpoint.
|
||||
endpoints.configprops.jmx.enabled= # Expose the configprops endpoint as a JMX MBean.
|
||||
endpoints.configprops.keys-to-sanitize=password,secret,key,token,.*credentials.*,vcap_services # Keys that should be sanitized. Keys can be simple strings that the property ends with or regex expressions.
|
||||
endpoints.configprops.keys-to-sanitize=password,secret,key,token,.*credentials.*,vcap_services # Keys that should be sanitized. Keys can be simple strings that the property ends with or regular expressions.
|
||||
endpoints.configprops.web.enabled= # Expose the configprops endpoint as a Web endpoint.
|
||||
|
||||
# ENDPOINT DEFAULT SETTINGS
|
||||
@@ -1106,7 +1106,7 @@ content into your application; rather pick only the properties that you need.
|
||||
endpoints.env.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.
|
||||
endpoints.env.enabled= # Enable the env endpoint.
|
||||
endpoints.env.jmx.enabled= # Expose the env endpoint as a JMX MBean.
|
||||
endpoints.env.keys-to-sanitize=password,secret,key,token,.*credentials.*,vcap_services # Keys that should be sanitized. Keys can be simple strings that the property ends with or regex expressions.
|
||||
endpoints.env.keys-to-sanitize=password,secret,key,token,.*credentials.*,vcap_services # Keys that should be sanitized. Keys can be simple strings that the property ends with or regular expressions.
|
||||
endpoints.env.web.enabled= # Expose the env endpoint as a Web endpoint.
|
||||
|
||||
# FLYWAY ENDPOINT ({sc-spring-boot-actuator}/endpoint/FlywayEndpoint.{sc-ext}[FlywayEndpoint])
|
||||
|
||||
@@ -231,7 +231,7 @@ When a custom management context path is configured, the "`discovery page`" will
|
||||
automatically move from `/application` to the root of the management context. For example,
|
||||
if the management context path is `/management` then the discovery page will be available
|
||||
from `/management`. When the management context path is set to `/` the discovery page
|
||||
is disabled to prevent the possiblility of a clash with other mappings.
|
||||
is disabled to prevent the possibility of a clash with other mappings.
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -2828,8 +2828,8 @@ you can configure `security.oauth2.resource.jwk.key-set-uri`. E.g. on PWS:
|
||||
NOTE: Configuring both JWT and JWK properties will cause an error. Only one of `security.oauth2.resource.jwt.key-uri`
|
||||
(or `security.oauth2.resource.jwt.key-value`) and `security.oauth2.resource.jwk.key-set-uri` should be configured.
|
||||
|
||||
WARNING: If you use the `security.oauth2.resource.jwt.key-uri` or `security.oauth2.resource.jwk.key-set-uri,
|
||||
` the authorization server needs to be running when your application starts up. It will log a warning if it can't
|
||||
WARNING: If you use the `security.oauth2.resource.jwt.key-uri` or `security.oauth2.resource.jwk.key-set-uri`,
|
||||
the authorization server needs to be running when your application starts up. It will log a warning if it can't
|
||||
find the key, and tell you what to do to fix it.
|
||||
|
||||
OAuth2 resources are protected by a filter chain with order
|
||||
|
||||
@@ -3,7 +3,6 @@ import groovy.io.FileType
|
||||
import java.util.Properties
|
||||
|
||||
import org.springframework.core.io.InputStreamResource
|
||||
import org.springframework.core.io.Resource
|
||||
import org.springframework.core.type.AnnotationMetadata
|
||||
import org.springframework.core.type.ClassMetadata
|
||||
import org.springframework.core.type.classreading.MetadataReader
|
||||
@@ -72,10 +71,10 @@ MetadataReader createMetadataReader(MetadataReaderFactory factory, File classFil
|
||||
}
|
||||
|
||||
TestSlice createTestSlice(Properties springFactories, ClassMetadata classMetadata, AnnotationMetadata annotationMetadata) {
|
||||
new TestSlice(classMetadata.className, getImportedAutoConfiguration(springFactories, classMetadata, annotationMetadata))
|
||||
new TestSlice(classMetadata.className, getImportedAutoConfiguration(springFactories, annotationMetadata))
|
||||
}
|
||||
|
||||
Set<String> getImportedAutoConfiguration(Properties springFactories, ClassMetadata classMetadata, AnnotationMetadata annotationMetadata) {
|
||||
Set<String> getImportedAutoConfiguration(Properties springFactories, AnnotationMetadata annotationMetadata) {
|
||||
Set<String> importers = findMetaImporters(annotationMetadata)
|
||||
if (annotationMetadata.isAnnotated('org.springframework.boot.autoconfigure.ImportAutoConfiguration')) {
|
||||
importers.add(annotationMetadata.className)
|
||||
|
||||
Reference in New Issue
Block a user