Commit Graph

328 Commits (00b6670b785d6bcb2342dbe95599874e063b0449)

Author SHA1 Message Date
Andy Wilkinson 7060cc1967 Correct the position of JNDI in the ordered list of property sources
Fixes gh-1693
10 years ago
Eric Dahl 16937746a0 Fix some grammar issues in docs 10 years ago
Spring Buildmaster 3e71a21b30 Next development version 10 years ago
Phillip Webb 7e842aee77 Escape `...*...` outputs using `+...*...+` 10 years ago
Phillip Webb 4ecf50a1a9 Add `hide-uri-scheme` attribute to docs 10 years ago
Phillip Webb 2303c3aea9 Fix asciidoctor 'spaces' conversion issues 10 years ago
Dave Syer 6a503d5ca9 Fix loads of asciidoc errors 10 years ago
Phillip Webb 9dfbc25eaa Polish 10 years ago
Andy Wilkinson 8349148bbf Remove details of how to switch off RemoteIpValve: it's off by default
See gh-1631
10 years ago
Dave Syer 1b8f579da2 Clarify activation of RemoteIpValve
Fixes gh-1631
10 years ago
Dave Syer 034362b6e5 Explicit example for spring.jpa.properties.hibernate.*
Fixes gh-1636
10 years ago
Andy Wilkinson 45a168a47b Use correct version when linking to Spring and Spring Security docs
Closes gh-1621
10 years ago
Spring Buildmaster edb4b7ed7d Next development version 10 years ago
Phillip Webb bff39e954e Add `server.tomcat.port-header` support
Update Tomcat ServerProperties to support the RemoteIpValve portHeader
property.

Fixes gh-1616
10 years ago
Andy Wilkinson 72ef1d6554 Update ErrorPageFilter so it won’t try to forward a committed response
In some scenarios, the ErrorPageFilter will want to forward the request
to an error page but the response has already been committed. One common
cause of this is when the filter’s running on WAS. WAS calls
flushBuffer() (which commits the response), upon a clean exit from a
servlet’s service method.

Previously, the filter would attempt the forward, even if the response
was committed. This would result in an IllegalStateException and a
possibly incomplete response that may also have an incorrect status
code.

This commit updates the ErrorPageFilter to check to see if the response
has already been committed before it attempts to forward the request to
the error page. If the response has already been committed, the filter
logs an error and allows the container’s normal handling to kick in.
This prevents an IllegalStateException from being thrown.

This commit also updates the response wrapper to keep track of when
sendError has been called. Now, when flushBuffer is called, if
sendError has been called, the wrapper calls sendError on the wrapped
response. This prevents the wrapper from suppressing an error when the
response is committed before the request handling returns to the error
page filter.

Closes gh-1575
10 years ago
Phillip Webb 142216400a Polish formatting 10 years ago
Dave Syer a63d0b4e16 Update docs with DispatcherType.ERROR for filters
Some frameworks handle all requests in a Filter, so you have to
explicitly register it as an ERROR dispatcher.

See gh-1272
10 years ago
N Jain a8af254765 Fix description of test file to be tests.groovy
Corrected the documentation to refer to file as tests.groovy, rather
than test.groovy. Updated cope snippet as tests.groovy should expect
"Hello World!" rather than "Hello World".

Closes gh-1593
10 years ago
Phillip Webb 62a5ce52d0 Backport Jetty/Tomcat SSL support
Fixes gh-1570
Cherry-picked from 0960908 and 258c6f1
10 years ago
Andy Wilkinson 468b6cb1f7 Add support for configuring RemoteIpValve’s internalProxies
Closes gh-1522
10 years ago
Phillip Webb 5ba86a103d Polish 10 years ago
Andy Wilkinson 2ba2cfe23d Document build-time property expansion using Gradle
Closes gh-1540
10 years ago
Dave Syer 7828f2a5d3 Update docs on metrics names 10 years ago
John Tims a4e08beebc Add missing variable to the example in the Loading YAML section
Closes gh-1524
10 years ago
Christoph Frick 3b07e4e633 Fix typos in the documentation: though -> through
Closes gh-1510
10 years ago
Dave Syer 9a2f9825d1 Fix asciidoc syntax 10 years ago
Dave Syer 993c7691ec Fix recommended authentication configuration to match samples 10 years ago
Spring Buildmaster d63e4b4329 Next development version 10 years ago
Andy Wilkinson 990213b8b8 Correct reference to ConfigurableEmbeddedServletContainerFactory
Closes gh-1500
10 years ago
Phillip Webb 449752c9e2 Minor asciidoctor formatting 10 years ago
Stephane Nicoll 811f5ab80c Clarify the use of spring.profiles
Fixes gh-1470
10 years ago
Andy Wilkinson d0a85dd477 Add Elasticsearch starter to table of starters in the documentation
Fixes #1446
10 years ago
Dave Syer 00ef26599e Add clarification of logging.file (fixes gh-1416) 10 years ago
Dave Syer 481cf775d8 Refer explicitly to double asterix in metrics docs
Fixes gh-1358
10 years ago
Dave Syer 0a3a00e9e5 Fix property keys in shell docs (consistent with appendix)
Fixes gh-1371
10 years ago
Spring Buildmaster 74d0c5185a Next development version 10 years ago
Phillip Webb d854c09d5a Add option to disable `X-Application-Context`
Add `management.add-application-context-header` option to disable
the automatic adding of the `X-Application-Context` HTTP header.

Fixes gh-1308
10 years ago
Phillip Webb f8bf0e2031 Polish 10 years ago
ddebree 5e02ee6974 Add java options for Heroku Procfile
Added $JAVA_OPTS variable to the sample Heroku Procfile.
If this is left out it can cause memory issues when the app starts.

Fixes gh-1266
10 years ago
Stephane Nicoll 16c2477da2 Documentation update
This commit fixes some inconsistent or outdated keys in the
documentation. More specifically:

* allowSessionOverride is no longer a template parameter
* templateEncoding has been renamed to charSet
* Groovy templates do not have the same configuration hierarchy, hence
  they don't share all settings
* spring.data.elasticsearch.local does not seem to exist
* flyway prefix and suffix should be sqlMigrationPrefix and suffix
* spring.rabbitmq.virtualHost had a typo
* endpoints.error.path is not a valid property
* shell.command-path-patterns had a typo
* spring.datasource.max-wait had a typo

Fixes gh-1226
10 years ago
Dave Syer a9b8563bb6 Fix typo (fixes gh-1273) 10 years ago
Andy Wilkinson 0a70bd44ed Correct the default Logback config location in the documentation
Fixes #1247
10 years ago
Andy Wilkinson 672d713f99 Add dependency management for spock-spring and document its use
Closes #1234
10 years ago
Stephane Nicoll f7a5ee3bcc Remove duplicate key 11 years ago
Spring Buildmaster 40327e1ae6 Next development version 11 years ago
Phillip Webb fd3e5eceeb Polish 11 years ago
Phillip Webb 31014d86a4 Clarify resource filtering documentation
Fixes gh-1208
11 years ago
Andy Wilkinson 148e32d09a Document need to use @ContextConfiguration with Spock
Closes #1167
11 years ago
Phillip Webb 60e60227ad Polish doc formatting 11 years ago
Radesh Rao ef89ad019d Correct typo in section on using Maven without Boot as the parent
Closes #1188
11 years ago