- 20 Jun, 2014 5 commits
-
-
Dave Syer authored
-
Christian Dupuis authored
In order to solve issues with multiple or incompatible AccessDecisionManagers, the CRaSH integration will now only delegate to an explicit shellAccessDecisionManager bean refs #1121
-
Dave Syer authored
-
Dave Syer authored
It' sthe best we can do, but the container seems to still use our error page (it just can't have the status code that we asked for). Fixes gh-748
-
Dave Syer authored
-
- 19 Jun, 2014 4 commits
-
-
Dave Syer authored
Fixes gh-1125
-
Dave Syer authored
-
Dave Syer authored
Adding an Order to the BeanPostProcessor and catching an exception are enough to get a simple web app with @EnableGlobalMethodSecurity and JDBC user details running. It actually doesn't solve an underlying problem in Spring Security, but I'll deal with that separately. See gh-1115
-
Dave Syer authored
-
- 18 Jun, 2014 10 commits
-
-
Phillip Webb authored
Update SolrAutoConfiguration to specifically require HttpSolrServer and CloudSolrServer classes rather than the generic SolrServer. This prevents the rather cryptic "@ConditionalOnMissingBean annotations must specify at least one bean" error that can occur if an earlier version of solr happens to be on the classpath (as is the case when hibernate-search is used). Fixes gh-1098
-
Phillip Webb authored
-
Phillip Webb authored
Refine auto-configuration for Spring Social to: - Only auto-configure FB/Twitter/LinkedIn if the `app-id` property is set. - Only configure ConnectController and ProviderSignInController if there is a ConnectionFactoryLocator. - Auto-configure Spring Social's SpringSocialDialect for Thymeleaf if Thymeleaf is present. - Added several tests around Spring Social auto-configuration. Fixes gh-1118
-
Phillip Webb authored
-
Dave Syer authored
The default behaviour doesn't change with this commit, but now the user has the option to specify a 'classifier' property either in springBoot { classifier = 'exec' } (i.e. globally for all repackage tasks) or in each repackage task, e.g. bootRepackage { classifier = 'exec' }. In that case the original archive is not overwritten but copied into <file>-<classifier>.jar (or .war etc.) and then enhanced. Fixes gh-1113, fixes gh-141 also I believe.
-
Christian Dupuis authored
refs #1121
-
Dave Syer authored
It needs to run as soon as the DataSource is available really otherwise anything else that depends on the DataSource (like Security JDBC initializers) might fail when it tries to use it. One change from 1.1.1 is that if you have a schema.sql you had better make sure your data.sql talks to the same tables. In 1.1.1 you could sometimes get away with letting Hibernate initialize the tables for your data.sql and *also* have a schema.sql. This was fragile and doomed to fail eventually if the DataSourceInitializer somehow got initialized earlier (e.g. through a @DependsOn), so in the spririt of honesty being the best policy we explicitly disallow it now. Fixes gh-1115
-
Dave Syer authored
-
Dave Syer authored
The class Compile was deprecated and will be removed in Gradle 2.0 (it is already removed in the release canidate). Instead we should use JavaCompile. Fixes gh-1066.
-
Dave Syer authored
See gh-1115
-
- 17 Jun, 2014 15 commits
-
-
Phillip Webb authored
Move ApplicationContextTestUtils from src/main to src/test since it is probably of limited use to others. Fixes gh-1034
-
Phillip Webb authored
-
Christian Dupuis authored
-
Christian Dupuis authored
-
Tobias Gesellchen authored
-
Stephane Nicoll authored
Prior to this commit it was not safe to start several contexts using the HornetQAutoConfiguration in the same VM. Each context was trying to start their own HornetQ embedded broker by default but only the first was really starting. Worse, the various InVM connection factories were all silently connecting to the first broker. This commit introduces a new "serverId" property that is an auto- incremented integer by default. This identifies the server to connect to and allows each context to start its own embedded broker in total isolation of other contexts. This commits makes it possible for a context to disable its own embedded broker and connect to an existing one, potentially started by another context. Fixes gh-1063
-
Stephane Nicoll authored
This commit reuses the standard behavior provided by Properties for parsing keys rather than parsing the keys ourselves. This provides a consistent features set regardless of where the property is defined. Fixes gh-1110
-
Dave Syer authored
-
Dave Syer authored
Fixes gh-1067
-
Dave Syer authored
See gh-1072
-
Dave Syer authored
Fixes gh-320, since this is the officially supported mechanism for changing the version of Spring (and other dependencies).
-
Dave Syer authored
Fixes gh-1068
-
Stephane Nicoll authored
Prior to this commit, some tests were creating a parent/child relationship but were only closing the child context. This could be an issue with the autoconfig module as a lot of auto-config kicks in by default. This commit adds a new test utility designed to properly handle those situations. Updated tests that were creating a context hierarchy to benefit from that. Fixes gh-1034
-
Dave Syer authored
-
Dave Syer authored
I'm sure someone can do a better job of this, but here's a proposal that works. It uses our FindMainTask to set the relevant properties if theu are missing in the application plugin. Fixes gh-1105
-
- 16 Jun, 2014 6 commits
-
-
Phillip Webb authored
Simplify the exclusion logic used in Gradle by implementing implicit exclusions rather than trying to detect transitive excludes. This commit reverts much of the code originally included to fix gh-1047 which adds far too much complexity to the build and still doesn't solve the underlying issue. Fixes gh-1103
-
Dave Syer authored
Fixes gh-1099
-
Phillip Webb authored
This reverts commit e6e89077 which has an incorrect commit message.
-
Phillip Webb authored
-
Dave Syer authored
The test is a bit crap at the minute (no assertion), but the build is successful and you can see from the log that the correct main is used Fixes gh-1099
-
Dave Syer authored
-