1656 Commits

Author SHA1 Message Date
Eddú Meléndez
1b81d9f0b5 Add support for server.server-header property
Add a `server.server-header` property which can be used to override the
`server` header usually sent back automatically by Tomcat/Jetty or
Undertow.

See https://www.owasp.org/index.php/Securing_tomcat for background.

Fixes gh-4461
Closes gh-4504
2015-12-12 21:24:29 +00:00
Johnny Lim
4fbc6d810a Polish docs
Closes gh-4768
2015-12-12 18:55:34 +01:00
Phillip Webb
0489a3b4de Polish 2015-12-10 19:43:29 +00:00
Stephane Nicoll
59cb5cf8d9 Merge branch '1.2.x'
# Conflicts:
#	spring-boot-actuator/src/main/resources/META-INF/additional-spring-configuration-metadata.json
#	spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc
2015-12-10 15:40:44 +01:00
Stephane Nicoll
ce2346b087 Reintroduce endpoints.metrics.filter.enabled
Commit 8c14009 removed the endpoints.metrics.filter.enabled property so
that endpoints.metrics.enabled is used for both disabling the endpoint
and the servlet filter that records interactions.

This was an unfortunate decision as it was no longer possible to only
disable the servlet filter. The endpoints.metrics.filter.enabled property
has therefore been restored.

Closes gh-4365
2015-12-10 15:37:10 +01:00
Stephane Nicoll
cbfdfb463e Fix indent
See gh-4712
2015-12-09 11:40:14 +01:00
Stephane Nicoll
d4545b4d7f Add reference to nonheap metrics
See gh-4712
2015-12-09 11:39:10 +01:00
Stephane Nicoll
2d003a698f Revert 5464c65
See gh-4709
2015-12-09 10:59:27 +01:00
Stephane Nicoll
5464c65ca8 Polish contribution
Use the same value as we do.
2015-12-09 09:57:04 +01:00
Johnny Lim
12a921c200 Polish docs
Closes gh-4709
2015-12-09 09:49:42 +01:00
Johnny Lim
ec7fed1ecc Polish
Closes gh-4677
2015-12-07 20:46:36 +01:00
Andy Wilkinson
dc9405676a Reword the description of how to trigger a restart
See gh-4679
2015-12-07 09:27:37 +00:00
Andy Wilkinson
7d2ea8fb75 Document project names that are excluded from triggering a restart
Closes gh-4673
2015-12-04 14:34:20 +00:00
Andy Wilkinson
4581853bcc Clarify documentation on how to trigger a restart with Dev Tools
Closes gh-4679
2015-12-04 14:26:56 +00:00
cornelcreanga@yahoo.com
1e9d4a22c2 Document how to use Actuator with Jersey
Closes gh-4577
2015-12-03 11:33:43 +00:00
Yunkun Huang
3f9a2aa145 Document randomPort attribute on WebIntegrationTest
Closes gh-4548
2015-12-03 11:17:31 +00:00
Andy Wilkinson
c003efc666 Document new initInfoChkconfig property supported by launch.script
See gh-4564
2015-12-02 10:21:33 +00:00
Vedran Pavic
884cae6f8d Add support for using ${application.title} in startup banners
This commit introduces a new property, application.title, that can
be used in a banner. Its value is resolved from the application
manifest's Implementation-Title attribute.

Closes gh-4603
2015-12-02 10:09:42 +00:00
Andy Wilkinson
524a32879f Allow security filter's dispatcher types to be configured via env
This commit adds a new property, security.filter-dispatcher-types
that can be used to configure the dispatcher types of Spring
Security's filter chain. The default remains unchanged.

Closes gh-4505
2015-12-01 17:50:31 +00:00
Andy Wilkinson
f25a5e3b77 Improve documentation of color-coded console output
This commit documents the color converter, the explicit colors and
styles that is supports, and the implicit colors used for each log
level.

 Closes gh-4592
2015-12-01 16:28:09 +00:00
Stephane Nicoll
1ec40ed666 Polish 2015-11-30 15:08:40 +01:00
Stephane Nicoll
5cdd874d55 Document @AutoconfigureOrder
Closes gh-4546
2015-11-30 11:18:34 +01:00
Stephane Nicoll
e78ddc903e Polish 2015-11-30 10:47:25 +01:00
Kazuki Shimizu
b5bb184766 Fix typo in reference doc
Closes gh-4635
2015-11-28 09:22:31 +01:00
Stephane Nicoll
754642e0cf Document HealthIndicator naming convention
Closes gh-4602
2015-11-27 17:21:15 +01:00
Stephane Nicoll
43b8e65eee Add dedicated section for spring.main.banner-mode
One of the options of the new `banner-mode` property is `off`. YAML maps
`off` to `false` and since we are exposing the method from the
`SpringApplication` public class we can't change the signature to accept
a `String` and do the conversion ourselves.

This commit adds a dedicated section in the guide to warn users about
that particular situation. Adding quotes around the value prevents the
conversion.

Closes gh-4600
2015-11-27 14:04:58 +01:00
Stephane Nicoll
77190f126a Create dedicated section for property conversion
See gh-4604
2015-11-27 11:42:23 +01:00
Stephane Nicoll
e57244d8bc Merge branch '1.2.x' 2015-11-23 09:42:27 +01:00
Dimitri
c605675b7a Fix wrong class reference
Closes gh-4551
2015-11-23 09:41:34 +01:00
Johnny Lim
8ec00c35bf Polish
Closes gh-4572
2015-11-21 08:12:21 +01:00
Vedran Pavic
fc868155ff Fix incorrect default value for executable flag
Closes gh-4561
2015-11-20 10:51:58 +01:00
Stephane Nicoll
6146817ba3 Polish 2015-11-18 12:36:41 +00:00
Stephane Nicoll
d4a7c09b4e Polish 2015-11-18 11:21:23 +00:00
Stephane Nicoll
169fd53976 Fix typo
Closes gh-4515
2015-11-17 10:23:23 +00:00
NersesAM
732658af89 Update documentation with new Jackson 2.6 feature
Update the "How To" section with a new Jackson value that was added in
2.6.

Closes gh-4491
2015-11-14 16:52:30 -08:00
Phillip Webb
05698e18e4 Polish 2015-11-13 21:42:56 -08:00
Phillip Webb
9a666d3366 Improve devtools documentation
Clarify known limitations and document how to use the
`META-INF/spring-devtools.properties` file.

Fixes gh-4235
Closes gh-3316
2015-11-13 21:35:15 -08:00
Stephane Nicoll
b83368a503 Fix case for MockMvc
Closes gh-4459
2015-11-13 13:12:27 +01:00
Eddú Meléndez
41300c35ab Add timeout configuration for CRaSH
Closes gh-4325
2015-11-13 09:55:54 +01:00
Stephane Nicoll
0c8d302a98 Polish
See gh-4448
2015-11-13 09:50:04 +01:00
Stephane Nicoll
2ac18a33d5 Add a note to define what triggers a Devtools change
Closes gh-4453
2015-11-13 09:41:40 +01:00
Eddú Meléndez
066533de7e Add spring.mvc.static-path-pattern property
Add a `spring.mvc.static-path-pattern` property which can be used to
configure the path pattern used to serve static resources.

Fixes gh-4444
Closes gh-4448
2015-11-12 10:46:27 -08:00
Johnny Lim
4d9111606b Polish docs
Closes gh-4446
2015-11-12 17:23:04 +01:00
cornelcreanga@yahoo.com
190b0d4fe9 Add Cassandra username/password properties
Allow Cassandra credentials to be specified using properties.

Fixes gh-4431
Closes gh-4432
2015-11-11 14:12:04 -08:00
Johnny Lim
4c1398148b Polish docs
Closes gh-4433
2015-11-11 15:04:45 +01:00
Tommy Ludwig
d8247657a0 Auto-configure CassandraHealthIndicator
Add auto-configuration for the CassandraHealthIndicator. Also update
the implementation to use CassandraOperations rather than
CassandraAdminOperations.

Closes gh-4409
2015-11-10 13:49:39 -08:00
Bohuslav Burghardt
88cf65427f Make OPTIONS/TRACE request handling configurable
Add properties to WebMvcProperties allowing control of if TRACE/OPTIONS
requests should go through the regular dispatching chain.

Closes gh-4300
2015-11-10 13:10:27 -08:00
Johnny Lim
c87370085b Polish 2015-11-10 12:15:27 -08:00
Phillip Webb
8c642bec74 Support global endpoint.sensitive override
Add support for an `endpoint.sensitive` property that can be used to
override the endpoint `sensitive` default.

Fixes gh-4419
2015-11-09 22:25:12 -08:00
Vedran Pavic
a0c696b17b Allow security AuditListener overrides
Introduce `AbstractAuthenticationAuditListener` and
`AbstractAuthorizationAuditListener` classes so that users can
extended them to replace the auto-configured defaults.

Closes gh-4406
2015-11-09 13:51:30 -08:00