1. 19 Aug, 2014 13 commits
  2. 18 Aug, 2014 4 commits
    • Phillip Webb's avatar
      Prevent tests from picking up empty starter dirs · 2188e355
      Phillip Webb authored
      Update StarterDependenciesIntegrationTests to only consider starter
      folders that contain POM files.
      
      Fixes gh-1395
      2188e355
    • Phillip Webb's avatar
      Find 'messages*.properties' in all jar URLs · eb721b1e
      Phillip Webb authored
      Update the the PathMatchingResourcePatternResolver used in the
      MessageSourceAutoConfiguration condition to deal with the fact
      that `classpath*:` patterns do not work with URLClassLoaders when
      the pattern doesn't include a folder.
      
      The ExtendedPathMatchingResourcePatternResolver works by searching
      all classpath URLs when the `findAllClassPathResources` method is
      called with an empty location.
      
      Fixes gh-1378
      eb721b1e
    • Phillip Webb's avatar
      Polish · 6e6bc25c
      Phillip Webb authored
      6e6bc25c
    • Dave Syer's avatar
      Tidy imports · 91d3edc2
      Dave Syer authored
      91d3edc2
  3. 13 Aug, 2014 3 commits
  4. 12 Aug, 2014 1 commit
    • Dave Syer's avatar
      Refactor AuthenticationManagerConfiguration to make sure it works · 0cf1c6f0
      Dave Syer authored
      if user also adds @EnableWebMvcSecurity. The problem is that the ordering
      of the init() and configure() methods in the Spring Security configurers
      can force things to happen too early unless we are careful. It's still a bit
      twitchy I would say, but this relatively small change seems to fix the GS guide
      and not break any existing tests.
      
      I added a sample which mimic ths GS guide so we get an integration test that
      executes the new code paths.
      
      Fixes gh-1364
      0cf1c6f0
  5. 11 Aug, 2014 1 commit
    • Phillip Webb's avatar
      Don't cause early FactoryBean instantiation · 9a7a4a46
      Phillip Webb authored
      Update ConfigurationPropertiesBindingPostProcessor to use
      `getBeansOfType` with `allowEagerInit=false` rather than `getBean`.
      
      This prevents FactoryBeans from being instantiated early when their
      type is not known.
      
      Fixed gh-1365
      9a7a4a46
  6. 07 Aug, 2014 5 commits
  7. 06 Aug, 2014 6 commits
    • Phillip Webb's avatar
      Use MongoDbFactory to create GridFsTemplate · 88828f50
      Phillip Webb authored
      Update MongoDataAutoConfiguration to use the MongoDbFactory when
      creating GridFsTemplate.
      
      Fixes gh-1295
      88828f50
    • Phillip Webb's avatar
      Add option to disable `X-Application-Context` · d854c09d
      Phillip Webb authored
      Add `management.add-application-context-header` option to disable
      the automatic adding of the `X-Application-Context` HTTP header.
      
      Fixes gh-1308
      d854c09d
    • Phillip Webb's avatar
      Document @ConfigurationProperties on @Bean methods · 621649d9
      Phillip Webb authored
      Minor javadoc edits to hint that @ConfigurationProperties can also be
      used with @Bean methods.
      
      Fixes gh-1330
      621649d9
    • Phillip Webb's avatar
      Polish · 92899474
      Phillip Webb authored
      92899474
    • Andy Wilkinson's avatar
      Never run data.sql scripts if spring.datasource.initialize is false · 7d213950
      Andy Wilkinson authored
      Previously, the data scripts were always run in response to the
      publication of a DataSourceInitializedEvent, irrespective of
      spring.datasource.initialize. While the event won't be published by
      DataSourceInitializer if spring.datasource.initialize is false, it
      will be published if spring.jpa.hibernate.hbm2ddl.auto has been set.
      
      This commit updates DataSourceInitializer's handling of
      DataSourceInitializedEvent to only run the data scripts if
      spring.datasource.initialize is true.
      
      Fixes #1336
      7d213950
    • Andy Wilkinson's avatar
      Update test to correct name of metric for request that returns a 401 · e1857933
      Andy Wilkinson authored
      The request is being made to '/' and, while the application does have
      a mapping for '/', that mapping is not looked for before Spring
      Security's filter rejects the request with a 401. This means that the
      request is considered to be unmapped and this is reflected in the
      metric's name.
      
      See #1331 and #1333
      e1857933
  8. 05 Aug, 2014 3 commits
  9. 04 Aug, 2014 4 commits