1. 14 Oct, 2015 16 commits
  2. 13 Oct, 2015 7 commits
    • Stephane Nicoll's avatar
      Clarify usage of `@ConditionalOn[Missing]Bean` · a7bdef61
      Stephane Nicoll authored
      Closes gh-4104
      a7bdef61
    • Stephane Nicoll's avatar
      Update health endpoint documentation · 9d3858ca
      Stephane Nicoll authored
      Closes gh-4157
      9d3858ca
    • Stephane Nicoll's avatar
      Clarify ConversionService initialization · e221dfc3
      Stephane Nicoll authored
      Spring Boot will eagerly initialize a `ConversionService` named
      `conversionService` for configuration keys processing. This commit adds
      a note in the documentation regarding that special behaviour.
      
      Closes gh-4162
      e221dfc3
    • Andy Wilkinson's avatar
      Fix import ordering · 3e79647b
      Andy Wilkinson authored
      3e79647b
    • Andy Wilkinson's avatar
      Fix handling of security.headers.* to allow headers to be disabled · 25e719f5
      Andy Wilkinson authored
      Spring Security 4’s default configuration will, irrespective of any
      other header writers that are added, enable writers for the following
      headers:
      
       - X-Content-Type
       - X-XSS-Protection
       - Cache-Control
       - X-Frame-Options
      
      Previously, SecurityProperties.headers used false as the default for the
      properties that enable or disable these headers but the configuration is
      only applied when the properties are true. This left us with the right
      default behaviour (the headers are enabled) but meant that the
      properties could not be used to switch off the headers.
      
      This commit changes the defaults for the four properties to true and
      updates SpringBootWebSecurityConfiguration to only apply the
      configuration when the properties are false. This leaves us with the
      desired defaults while allowing users to disable one or more of the
      properties by setting the relevant property to false.
      
      Closes gh-3517
      25e719f5
    • Stephane Nicoll's avatar
      Clarify property expansion · f4c1efd1
      Stephane Nicoll authored
      So far we have wrongly advertized that the `spring-boot-starter-parent`
      filters application configuration in such a way that standard Spring
      placeholders are not processed.
      
      In order to achieve such feature, the `useDefaultDelimiters` property
      must be set to `false` as otherwise default delimiters are appended to
      the list of custom delimiters.
      
      This property is not enabled so that only keys surrounded by `@` are
      filtered by the build.
      
      Closes gh-3092
      f4c1efd1
    • Stephane Nicoll's avatar
      Make sure Caching is initialized before JPA support · 8e0a94f1
      Stephane Nicoll authored
      The second level cache of Hibernate can be configured with dedicated
      factories that look up for the presence of a cache infrastructure. As
      Hibernate shouldn't have to know about Spring, that lookup is done
      against the respective proprietary APIs.
      
      We now make sure that caching (and the general purpose Hazelcast
      auto-configuration) is fully processed before JPA kicks in. In particular
      an explicit `dependsOn` attribute on those beans is added when they are
      processed.
      
      Closes gh-4158
      8e0a94f1
  3. 12 Oct, 2015 17 commits