Commit Graph

4325 Commits

Author SHA1 Message Date
Stephane Nicoll
38cca9c1f3 Only associate JTA transaction manager to JMS factory
The JMS MessageListenerContainer supports the PlatformTransactionManager
abstraction with either a `JmsTransactionManager` for local transactions
or `JtaTransactionManager` for distributed transactions. The former is
kind of deprecated (`setTransacted` should be used instead). In any case,
any other `PlatformTransactionManager` implementation is not supported.

Update JmsAnnotationDrivenConfiguration to only associated a JTA
transaction manager, if any.

Closes gh-3150
2015-06-08 15:07:03 +02:00
Dave Syer
1c0bcc13cf Set UserDetailsService in default AuthenticationManagerBuilder
Only affects the default AuthenticationManagerBuilder (so when users
are not overriding the default global user details). Makes the
UserDetailsService effectively available as it would be if we used
AuthenticationManagerBuilder.inMemoryAuthentication() as a
shared object in the HttpSecurity.

Fixes gh-3152
2015-06-08 13:14:12 +01:00
izeye
c7103bf2a4 Add missing slash
`endpoints.jolokia.path` requires the path to start with a slash.

Closes gh-2864
2015-06-07 10:29:03 +02:00
Stephane Nicoll
b847b6fa4b Fixup version numbers following release 2015-06-04 10:34:44 +02:00
Spring Buildmaster
5d81c87b43 Next Development Version 2015-06-04 00:49:11 -07:00
Phillip Webb
df8c311280 Add OrderedHiddenHttpMethodFilter
Add OrderedHiddenHttpMethodFilter and use it in WebMvcAutoConfiguration
to ensure that it is applied before Spring Security.

Fixes gh-2773
2015-06-02 15:20:20 -07:00
Phillip Webb
df0ba5c03a Guard against metric failures in MetricsFilter
Update MetricsFilter so that failures to record metrics are logged and
ignored.

Fixes gh-2777
2015-06-02 14:30:59 -07:00
Phillip Webb
1d5a62b3df Show endpoint.isEnabled in /configprops
Update `ConfigurationPropertiesReportEndpoint` so that properties that
are set with a Boolean class but read with a boolean primitive still
appear in the report. The allows the Endpoint.isEnabled() property to
be displayed.

Fixes gh-2929
2015-06-02 12:01:47 -07:00
Phillip Webb
61bc876ae8 Upgrade to H2 v1.4.187
Fixes gh-2730
2015-06-02 11:19:31 -07:00
Phillip Webb
aaa2ff54dd Extract @ConditionalOnEnabledEndpoint
Extract @ConditionalOnEnabledEndpoint to a top level class.

See gh-2798
2015-06-02 11:17:23 -07:00
Phillip Webb
968b68c322 Polish 2015-06-02 11:17:16 -07:00
Josh Thornhill
10f7031e46 Fix typo in documentation
Closes gh-3077
2015-06-02 11:50:49 +02:00
Phil Parker
eb92dfbb3b Fix link to Groovy documentation
Closes gh-3054
2015-05-28 15:28:48 +02:00
Stephane Nicoll
4b825163a2 Upgrade to Tomcat 8.0.23
Closes gh-3058
2015-05-28 13:34:10 +02:00
Stephane Nicoll
f25ce8a381 Fix artifact extension retrieval
Do not rely on the packaging type to figure out what the extension of the
main artifact will be. So far, using `jar` and `war` packaging for `.jar`
and `.war` files worked by chance.

We know retrieve the actual extension as provided by Maven's
`ArtifactHandler`.

Fixes gh-2762
2015-05-26 16:21:00 +02:00
Stephane Nicoll
160f2d341f Fix Gzip filter properties
Fix `excludeAgentPatterns`, `excludePaths` and `excludePathPatterns`
properties. Introduce `excludedMimeTypes` property.

Fixes gh-3042
2015-05-26 15:00:54 +02:00
Stephane Nicoll
676b7d713a Refine log message
Rework c03e14b to avoid an extra empty space in log message

See gh-3033
2015-05-26 11:23:01 +02:00
Stephane Nicoll
c03e14bee4 Fix missing space in log message
Fixes gh-3033
2015-05-25 18:25:11 +02:00
Joe Kutner
dbe310b806 Update Heroku deployment documentation
Closes gh-3000
2015-05-20 10:58:42 +02:00
Andy Wilkinson
bb877ed579 Upgrade to Spring Batch 3.0.4.RELEASE
Closes gh-2950
2015-05-20 09:54:35 +01:00
Andy Wilkinson
6ad6cf0356 Upgrade to Spring Social 1.1.2.RELEASE
Closes gh-3015
2015-05-20 09:54:00 +01:00
Andy Wilkinson
c5b5932c0c Upgrade to thymeleaf-extras-springsecurity3 2.1.2.RELEASE
Closes gh-2975
2015-05-18 13:47:30 +01:00
Andy Wilkinson
615e1afe80 Upgrade to Spring Loaded 1.2.3.RELEASE
Closes gh-2974
2015-05-18 13:47:30 +01:00
Andy Wilkinson
3d68216bf7 Upgrade to Liquibase 3.3.3
Closes gh-2973
2015-05-18 13:47:30 +01:00
Andy Wilkinson
83d718de79 Upgrade to HornetQ 2.4.7.Final
Closes gh-2972
2015-05-18 13:47:29 +01:00
Andy Wilkinson
f9b8c85de1 Upgrade to Hibernate 4.3.10.Final
Closes gh-2971
2015-05-18 13:47:29 +01:00
Andy Wilkinson
fc2b4ea8c3 Upgrade to Jetty 9.2.10
Closes gh-2970
2015-05-18 13:47:29 +01:00
Andy Wilkinson
28bfdef325 Upgrade to ActiveMQ 5.10.2
Closes gh-2969
2015-05-18 13:47:24 +01:00
Andy Wilkinson
cdac992ff5 Upgrade to thymeleaf-layout-dialect 1.2.8
Closes gh-2968
2015-05-18 13:42:27 +01:00
Andy Wilkinson
b2f5b1ed46 Upgrade to mysql-connector-java 5.1.35
Closes gh-2967
2015-05-18 13:41:57 +01:00
Andy Wilkinson
ffabf16a02 Upgrade to Jackson 2.4.6
Closes gh-2966
2015-05-18 13:41:29 +01:00
Andy Wilkinson
b7d27145e8 Upgrade to Spring Integration 4.1.4.RELEASE
Fixes gh-2811
2015-05-15 21:17:32 +01:00
Andy Wilkinson
e5451ab4fe Upgrade to Tomcat 8.0.22
Closes gh-2955
2015-05-15 21:17:04 +01:00
Andy Wilkinson
18d8564d85 Upgrade to Spring Social 1.1.1.RELEASE
Closes gh-2954
2015-05-15 21:16:11 +01:00
Andy Wilkinson
fc31115668 Rely soley on underlying logger for isEnabled in Liquibase logger
Previously, CommonsLoggingLiquibaseLogger referred to its
configured level and the underlying Commons Logging log when
determining if logging was enabled for a particular level. This did
not work as intended as setLogLevel was never called leaving the
configured level stuck at its default value of INFO. As a result of
this any logging at levels below INFO would not be output,
irrespective of the configuration of the underlying logging framework.

This commit updates CommonsLoggingLiquibaseLogger to rely purely on
the Commons Logging log when determining whether or not logging for
a particular level is enabled. This brings the implementation into
line with liquibase-slf4j [1] which provides similar functionality,
albeit using SLF4J rather than Commons Logging

Closes gh-2916

[1] https://github.com/mattbertolini/liquibase-slf4j/blob/master/src/main/java/liquibase/ext/logging/slf4j/Slf4jLogger.java
2015-05-11 17:26:35 +01:00
Andy Wilkinson
4977e48ec5 Don’t rely on deduction of main application class when running tests
Previously, when SpringApplicationContextLoader created a
SpringApplication and used it to load the test’s application context,
it relied upon SpringApplication correctly deducing the application’s
main class. This would result in the wrong class being deduced as the
application’s main method is not called so the test runner’s main method
would be found instead.

This commit updates SpringApplicationContextLoader to explicitly set
SpringApplication’s main class to be the current test’s class. While
not strictly the application’s main class, it is the next best thing
available in this situation and prevents misleading log messages and
application versions from being logged.

Fixes gh-2930
2015-05-11 15:43:44 +01:00
Andy Wilkinson
2053f4b2bf Clear JAVA_OPTS in CLI tests; avoid permsize config error with Java 8
When a Java 8 JVM is launched with -XX:MaxPermSize a warning message
is output indicating that the option will be ignored. This causes the
CLI tests that assert that no error output has been produced to fail.

This commit updates the CLI's integration test harness to remove
JAVA_OPTS from the environment of the CLI process. This prevents any
unwanted max perm size configuration from leaking into that
environment and breaking the build.
2015-05-11 12:22:02 +01:00
Mario A. Alvarez Garcia
ca94bd4b94 Upgrade to Hibernate 4.3.9.Final
Closes gh-2928
2015-05-11 10:45:13 +01:00
Davide Angelocola
3179d278a2 Upgrade to SLF4J 1.7.12
Closes gh-2931
2015-05-11 10:45:08 +01:00
Andy Wilkinson
d3d5b211ed Upgrade to Spring AMQP 1.4.5.RELEASE
Closes gh-2932
2015-05-11 10:38:01 +01:00
Andy Wilkinson
66be012e78 Upgrade to Undertow 1.1.4.Final
Closes gh-2754
2015-05-11 10:37:27 +01:00
Craig Walls
88d72e0598 Upgrade to Spring Social Facebook 2.0.1.RELEASE
While this is a breaking change, continuing with Spring Social
Facebook 1.1.x is also broken as it is no longer compatible with
Facebook's API. Upgrading to 2.0.1.RELEASE may require some changes
to be made to users' applications, but it will allow their
applications to use the Facebook API once again.

Closes gh-2837
2015-05-06 15:08:45 +01:00
pasali
1cc0b19f29 Upgrade to Dropwizard Metrics 3.1.2
Closes gh-2920
2015-05-06 15:00:51 +01:00
Andy Wilkinson
ffcc854d42 Include exception in warning message when pid file cannot be created
Closes gh-2905
2015-05-05 16:40:48 +01:00
Josh Thornhill
b16a973d6a Honor the endpoint.enabled property when registering MBeans
Fixes gh-2873
Closes gh-2890
2015-04-30 15:28:45 +01:00
yinheli
ef49ced12a Polish Gradle example for using Undertow
Closes gh-2896
2015-04-30 15:17:01 +01:00
Dave Syer
efa7ad8370 Only use PropertySource.getValue() as a fallback
It converts everything to a String so it isn't helpful to use
it as a default.

Fixes gh-2891.
2015-04-28 11:47:50 +01:00
Rob Winch
b54960f072 Management Security uses Spring Realm
Previously ManagementSecurityAutoConfiguration used Spring Security's
default realm of "Realm" when authentication failed. This was confusing
because when prompted for authentication (i.e. no credentials provided)
the realm "Spring" was requested.

This commit ensures the Realm that is used is consistent for all of of the
security auto configuration.

Fixes #2466
2015-04-27 17:32:47 -05:00
Andy Wilkinson
bc27a8aa6e Show different Gradle repository config for snapshots vs releases
Closes gh-2838
2015-04-22 17:29:22 +01:00
Andy Wilkinson
3e3395304b Upgrade to javax.mail:javax.mail-api 1.5.3
Closes gh-2835
2015-04-21 15:30:01 +01:00