1. 17 Feb, 2018 5 commits
    • Simon Braconnier's avatar
      Add JODConverter support · 1a238bae
      Simon Braconnier authored
      Closes gh-12098
      1a238bae
    • Phillip Webb's avatar
      Validate @ConfigurationProperties on @Bean methods · 1d83e87b
      Phillip Webb authored
      Refactor `ConfigurationPropertiesBindingPostProcessor` to allow JSR-303
      validation on `@ConfigurationProperties` defined at the `@Bean` method
      level.
      
      JSR-303 validation is now applied when a JSR-303 implementation is
      available and `@Validated` is present on either the configuration
      properties class itself or the `@Bean` method that creates it.
      
      Standard Spring validation is also supported using a validator bean
      named `configurationPropertiesValidator`, or by having the configuration
      properties implement `Validator`.
      
      The commit also consolidates tests into a single location.
      
      Fixes gh-10803
      1d83e87b
    • Phillip Webb's avatar
      Polish · 9e75680e
      Phillip Webb authored
      9e75680e
    • Madhura Bhave's avatar
      Merge branch '1.5.x' · d2039128
      Madhura Bhave authored
      d2039128
    • Madhura Bhave's avatar
      Fix tests to use GET to bypass CsrfFilter · 75e82e1b
      Madhura Bhave authored
      75e82e1b
  2. 16 Feb, 2018 22 commits
  3. 15 Feb, 2018 11 commits
  4. 14 Feb, 2018 2 commits
    • Andy Wilkinson's avatar
      Merge branch '1.5.x' · a1ba2de0
      Andy Wilkinson authored
      a1ba2de0
    • Andy Wilkinson's avatar
      Defer removal of Connectors until after ServletContext initialization · 145d8d26
      Andy Wilkinson authored
      Previously, we removed the Connectors from Tomcat's Service before
      the Context was started. The removal of the Connectors is required as
      it prevents Tomcat from accepting requests before we're ready to
      handle them.
      
      Part of starting the Context is creating and initializing the
      ServletContext. ServerProperties uses a ServletContextInitializer to
      set the session tracking modes and Tomcat rejects the SSL tracking
      mode if there is no SSL-enabled connector available. With the previous
      arrangement this led to a failure as the Connectors had been removed
      so the SSL-enabled connector could not be found.
      
      This commit updates the embedded Tomcat container to defer the
      removal of the Connectors until after the context has been started
      but still at a point that is before the Connectors themselves would
      have been started.
      
      Closes gh-12058
      145d8d26