Commit Graph

11601 Commits (f638dd40faf7e3c9a515c656ec2a48f245410898)
 

Author SHA1 Message Date
Stephane Nicoll d0b71a7d43 Document usage of auto-configuration AP for 3rd party starters
Closes gh-13368
7 years ago
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
7 years ago
Stephane Nicoll 628cce567f Start building against Spring Framework 4.3.18 snapshots
See gh-13352
7 years ago
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
7 years ago
Stephane Nicoll c67aedd8bc Polish "Retrieve javax.cache.CacheManager using Bean ClassLoader"
Closes gh-13338
7 years ago
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
7 years ago
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
7 years ago
Phillip Webb bb0550ab95 Polish 7 years ago
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
7 years ago
Phillip Webb 5243adce22 Restore Java 1.6 compatibility 7 years ago
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
7 years ago
Phillip Webb 43071b9375 Polish formatting 7 years ago
Phillip Webb 2bfcefa48e Reinstate support for disabling build checking
Closes gh-13291
7 years ago
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
7 years ago
Phillip Webb b03f890567 Upgrade to spring-javaformat 0.0.2 7 years ago
Stephane Nicoll 5692b83a6f Add note on sanitizing values
Closes gh-13138
7 years ago
Stephane Nicoll 3118f14dbb Fix NPE when OnExpressionCondition is invoked with a null BeanFactory
Closes gh-13249
7 years ago
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
7 years ago
Stephane Nicoll fcd8e0fad3 Polish "Reference the latest version of the jOOQ manual"
Closes gh-13262
7 years ago
Lukas Eder cb1530d38e Reference the latest version of the jOOQ manual
See gh-13262
7 years ago
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
7 years ago
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
7 years ago
Phillip Webb e69296d7d3 Fix checkstyle violations in samples 7 years ago
Phillip Webb 4853477081 Reformat code 7 years ago
Stephane Nicoll 625f428aad Upgrade to gson 2.8.5
Closes gh-13245
7 years ago
Stephane Nicoll 8997143f31 Fix checkstyle violations 7 years ago
Phillip Webb 9f4f229b83 Polish title case in CONTRIBUTING.md 7 years ago
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
7 years ago
Phillip Webb 37646517cf Polish 7 years ago
Stephane Nicoll d9029ef69e Fix documentation of spring.kafka.producer.batch-size
Closes gh-13127
7 years ago
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
7 years ago
Andy Wilkinson 700faabc56 Start building against Spring Security 4.2.7 snapshots
See gh-13196
7 years ago
Stephane Nicoll 38051d98fd Merge pull request #13175 from kesslerj
* pr/13175:
  Polish "Respect lombok.AccessLevel attributes"
  Respect lombok.AccessLevel attributes
7 years ago
Stephane Nicoll 563d7d70a2 Polish "Respect lombok.AccessLevel attributes"
Closes gh-13175
7 years ago
Jonas Keßler 3699132cf0 Respect lombok.AccessLevel attributes
See gh-13175
7 years ago
Andy Wilkinson 0c55c54cb7 Document how to use Jersey with Spring Security's method security
Closes gh-12995
7 years ago
Andy Wilkinson e52b721d23 Update the link that's used for Jetty's javadoc
Closes gh-13167
7 years ago
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
7 years ago
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
7 years ago
Andy Wilkinson 1fc2eba98b Polish "Suppress debug log output during Logback initialization"
See gh-12071
7 years ago
imgx64 8f44bb9d42 Suppress debug log output during Logback initialization
Closes gh-12071
7 years ago
Andy Wilkinson b559cadda9 Provide dependency management for spring-xml
Closes gh-13150
7 years ago
Stephane Nicoll 22642dd2eb Upgrade to Ehcache 2.10.5
Closes gh-13056
7 years ago
Andy Wilkinson 83a6f02ec4 Polish 7 years ago
Andy Wilkinson a9645a3d07 Polish 7 years ago
Andy Wilkinson e3f0a70df2 Merge pull request #12958 from Henri Tremblay
* gh-12958:
  Polish "Unwrap InvocationTargetException in isLogConfigurationMessage"
  Unwrap InvocationTargetException in isLogConfigurationMessage
7 years ago
Andy Wilkinson 678e125720 Polish "Unwrap InvocationTargetException in isLogConfigurationMessage"
Closes gh-12958
7 years ago
Henri Tremblay 2953ed1dca Unwrap InvocationTargetException in isLogConfigurationMessage
See gh-12958
7 years ago
Andy Wilkinson 34af02380c Ensure that ZipHeaderPeekIS doesn't miss bytes on partial header read
Closes gh-13032
7 years ago
Stephane Nicoll b17a00d0c3 Merge pull request #13117 from reegnz:feature/support-jersey-wrapping-resource-config
* pr/13117:
  Polish "Add support for Jersey WrappingResourceConfig"
  Add support for Jersey WrappingResourceConfig
7 years ago