Commit Graph

11658 Commits

Author SHA1 Message Date
Andy Wilkinson
3e3575eaef Upgrade to Spring Session 1.3.3.RELEASE
Closes gh-13387
2018-06-06 10:13:36 +01:00
Andy Wilkinson
6910831f25 Upgrade to Spring Cloud Connectors 1.2.6.RELEASE
Closes gh-13386
2018-06-06 10:13:36 +01:00
Andy Wilkinson
15cffde8b3 Upgrade to Spring Amqp 1.7.8.RELEASE
Closes gh-13385
2018-06-06 10:13:36 +01:00
Andy Wilkinson
884bd9008c Upgrade to Lombok 1.16.22
Closes gh-13384
2018-06-06 10:13:36 +01:00
Andy Wilkinson
26a5c4ad7e Upgrade to Hsqldb 2.3.6
Closes gh-13383
2018-06-06 10:13:36 +01:00
Andy Wilkinson
b7a46b8653 Upgrade to Appengine Sdk 1.9.64
Closes gh-13382
2018-06-06 10:13:35 +01:00
Stephane Nicoll
584d2de9f3 Document use of component scan exclude filters on SpringBootApplication
Closes gh-10933
2018-06-06 10:53:55 +02:00
Stephane Nicoll
d0b71a7d43 Document usage of auto-configuration AP for 3rd party starters
Closes gh-13368
2018-06-06 10:37:57 +02:00
Phillip Webb
6c7289b822 Allow META-INF/resources in WAR classes folder
Update `TomcatResources` so that `META-INF/resources` folders in
`src/main/resources` no longer fail with a "URI is not hierarchical"
exception.

Closes gh-13265
2018-06-05 17:00:52 -07:00
Stephane Nicoll
628cce567f Start building against Spring Framework 4.3.18 snapshots
See gh-13352
2018-06-04 15:04:49 +02:00
Stephane Nicoll
a562cb5d6c Merge pull request #13338 from mtheiss:master
* pr/13338:
  Polish "Retrieve javax.cache.CacheManager using Bean ClassLoader"
  Retrieve javax.cache.CacheManager using Bean ClassLoader
2018-06-04 14:11:08 +02:00
Stephane Nicoll
c67aedd8bc Polish "Retrieve javax.cache.CacheManager using Bean ClassLoader"
Closes gh-13338
2018-06-04 14:08:58 +02:00
Martin Theiss
76b9d0d243 Retrieve javax.cache.CacheManager using Bean ClassLoader
This commit uses the bean's classloader to retrieve the CacheManager to
prevent issues with off-heap serialization.

See gh-13338
2018-06-04 14:08:57 +02:00
Stephane Nicoll
f745f20c8c Clarify scope of JNDI-based MailSenderAutoConfiguration
This commit separates the auto-configuration of JavaMailSender in two
distinct configuration: one based on existing Session available on JNDI
and the other one based on properties configuration.

This clarifies the auto-configuration report and the fact that the JNDI
variant overrides any Session-related properties that would have been
set in the environment

Closes gh-13026
2018-05-31 16:20:40 +02:00
Phillip Webb
bb0550ab95 Polish 2018-05-30 20:28:50 -07:00
Phillip Webb
55d0611bc3 Guard against JarURLConnection with wrong JAR
Update `JarURLConnection.get()` to guard against the wrong nested JAR
being used as context.

Closes gh-11367
2018-05-30 19:59:56 -07:00
Phillip Webb
5243adce22 Restore Java 1.6 compatibility 2018-05-30 18:23:17 -07:00
Phillip Webb
00b76490dc Remove error logging on ClientAbortException
Update `ErrorPageFilter` so that a Tomcat `ClientAbortException` no
longer causes "Cannot forward to error page for request" logging for
committed responses. Since a `ClientAbortException` indicates that the
client is no longer available it's of no consequence that the request
has been committed and the forward will fail.

Closes gh-13221
2018-05-30 14:00:55 -07:00
Phillip Webb
43071b9375 Polish formatting 2018-05-30 13:34:15 -07:00
Phillip Webb
2bfcefa48e Reinstate support for disabling build checking
Closes gh-13291
2018-05-30 13:24:06 -07:00
Phillip Webb
4d84933ee4 Also call setHttpOnly property on Tomcat context
Update `ServerProperties` to also call `setHttpOnly` on the
`TomcatContext`. It appears that this is required in addition to
using the `ServletContextInitializer` to setup `SessionCookieConfig`.

Closes gh-12580
2018-05-30 12:02:46 -07:00
Phillip Webb
b03f890567 Upgrade to spring-javaformat 0.0.2 2018-05-30 11:14:26 -07:00
Stephane Nicoll
5692b83a6f Add note on sanitizing values
Closes gh-13138
2018-05-30 15:21:58 +02:00
Stephane Nicoll
3118f14dbb Fix NPE when OnExpressionCondition is invoked with a null BeanFactory
Closes gh-13249
2018-05-28 14:22:38 +02:00
Stephane Nicoll
2140196f64 Merge pull request #13262 from lukaseder:master
* pr/13262:
  Polish "Reference the latest version of the jOOQ manual"
  Reference the latest version of the jOOQ manual
2018-05-28 10:44:36 +02:00
Stephane Nicoll
fcd8e0fad3 Polish "Reference the latest version of the jOOQ manual"
Closes gh-13262
2018-05-28 10:44:07 +02:00
Lukas Eder
cb1530d38e Reference the latest version of the jOOQ manual
See gh-13262
2018-05-28 10:20:54 +02:00
Phillip Webb
f45ed0e56c Don't validate HelpMojo formatting
The `HelpMojo` class is always generated and it should not be checked
for formatting.

See gh-13255
2018-05-26 08:41:21 -07:00
Phillip Webb
e75d8eaf40 Switch to spring-javaformat plugin
Use `spring-javaformat` to format and check code. Code formatting can
now be applied using the `spring-javaformat-maven-plugin` from the
command line. Existing checkstyle rules have also been replaced and
the CONTRIBUTING.adoc file has been updated.

Closes gh-13255
2018-05-25 20:59:04 -07:00
Phillip Webb
e69296d7d3 Fix checkstyle violations in samples 2018-05-25 18:18:00 -07:00
Phillip Webb
4853477081 Reformat code 2018-05-25 18:17:37 -07:00
Stephane Nicoll
625f428aad Upgrade to gson 2.8.5
Closes gh-13245
2018-05-24 11:40:54 +02:00
Stephane Nicoll
8997143f31 Fix checkstyle violations 2018-05-24 11:40:54 +02:00
Phillip Webb
9f4f229b83 Polish title case in CONTRIBUTING.md 2018-05-21 17:10:52 -07:00
Phillip Webb
2fa057a06c Document how to raise security issues
Update contributing documentation and the issue template with
instructions on how to report security vulnerabilities.

Closes gh-12509
2018-05-21 17:07:44 -07:00
Phillip Webb
37646517cf Polish 2018-05-21 15:17:42 -07:00
Stephane Nicoll
d9029ef69e Fix documentation of spring.kafka.producer.batch-size
Closes gh-13127
2018-05-17 16:08:38 +02:00
Andy Wilkinson
64158ebaf5 Reinstate use of ConversionService for String -> File conversion
Prior to 3db5c70b, RelaxedDataBinder would use a ConversionService
to convert a String into a File via its ObjectToObjectConverter.
3db5c70b changed the configuration of the data binder such that a
FileEditor was registered. Property editors take precedence over any
conversion service so the FileEditor was used instead. This caused a
regression as the FileEditor uses slightly unusual logic for a String
to File conversion. Specifically, when given a value of ".", it will
locate a ClassPathResource for the root of the classpath and use the
result of calling getFile() on that resource. This fails when the
root of the classpath is in a jar file and also provides a different
result when the root of the classpath is not the current directory.

This commit updates RelaxedDataBinder to suppress the registration
of an editor for File. This restores the behaviour prior to 3db5c70b
by allowing the ConversionService to be used instead.

Closes gh-12786
2018-05-17 11:38:48 +01:00
Andy Wilkinson
700faabc56 Start building against Spring Security 4.2.7 snapshots
See gh-13196
2018-05-17 08:29:48 +01:00
Stephane Nicoll
38051d98fd Merge pull request #13175 from kesslerj
* pr/13175:
  Polish "Respect lombok.AccessLevel attributes"
  Respect lombok.AccessLevel attributes
2018-05-16 13:13:54 +02:00
Stephane Nicoll
563d7d70a2 Polish "Respect lombok.AccessLevel attributes"
Closes gh-13175
2018-05-16 13:12:16 +02:00
Jonas Keßler
3699132cf0 Respect lombok.AccessLevel attributes
See gh-13175
2018-05-16 09:54:50 +02:00
Andy Wilkinson
0c55c54cb7 Document how to use Jersey with Spring Security's method security
Closes gh-12995
2018-05-15 10:10:19 +01:00
Andy Wilkinson
e52b721d23 Update the link that's used for Jetty's javadoc
Closes gh-13167
2018-05-15 09:16:23 +01:00
Andy Wilkinson
339fd74810 Call ServletContextListener.contextDestroyed() when Undertow is stopped
Previously, when the embedded Undertow container was stopped, the
servlet deployment was stopped but it was not undeployed. This meant
that contextDestroyed() callback of any registered
ServletContextListeners was not called.

This commit updates UndertowEmbeddedServletContainer to call undeploy
on the deployment manager in addition to the existing call to stop.
Undeploying the servlet deployment calls Undertow to drive the
contextDestroyed callback on any registered ServletContextListeners.

Closes gh-13134
2018-05-14 19:56:08 +01:00
Andy Wilkinson
f07daf898b Merge pull request #12071 from imgx64
* gh-12071:
  Polish "Suppress debug log output during Logback initialization"
  Suppress debug log output during Logback initialization
2018-05-14 18:02:12 +01:00
Andy Wilkinson
1fc2eba98b Polish "Suppress debug log output during Logback initialization"
See gh-12071
2018-05-14 18:01:12 +01:00
imgx64
8f44bb9d42 Suppress debug log output during Logback initialization
Closes gh-12071
2018-05-14 17:57:12 +01:00
Andy Wilkinson
b559cadda9 Provide dependency management for spring-xml
Closes gh-13150
2018-05-14 17:52:29 +01:00
Stephane Nicoll
22642dd2eb Upgrade to Ehcache 2.10.5
Closes gh-13056
2018-05-14 11:06:12 +02:00