1. 18 Nov, 2014 3 commits
    • Andy Wilkinson's avatar
      Don't flush in ErrorPageFilter for < 400 response that's committed · 41cb5678
      Andy Wilkinson authored
      Previously, for a non-async response with a successful status (< 400),
      ErrorPageFilter would always call flushBuffer. This triggers an
      exception in Tomcat if the client has closed the connection before the
      response has been fully sent. In this case, Tomcat treats the response
      as successful and commits it before control returns to the filter.
      
      This commit updates ErrorPageFilter to only perform the flush if the
      response has not already been committed, leaving any further flushing
      that may be necessary to be handled by the servlet container.
      
      Fixes gh-1938
      41cb5678
    • Phillip Webb's avatar
      Find @ConfigurationProperties annotation on proxy · f224c7ac
      Phillip Webb authored
      Update ConfigurationPropertiesReportEndpoint to find
      @ConfigurationProperties using `context.findAnnotationOnBean` rather
      than `AnnotationUtils.findAnnotation`. This will correctly find the
      annotation even if the bean is an interface based proxy.
      
      Fixes gh-1927
      f224c7ac
    • Phillip Webb's avatar
      Use embedded docbook XSLT files · 285563a5
      Phillip Webb authored
      Switch from external docbook XSLT to those shipped as part of the
      Maven plugin.
      
      Fixes gh-1942
      285563a5
  2. 14 Nov, 2014 2 commits
  3. 12 Nov, 2014 2 commits
  4. 11 Nov, 2014 17 commits
  5. 10 Nov, 2014 6 commits
  6. 07 Nov, 2014 1 commit
  7. 06 Nov, 2014 1 commit
  8. 05 Nov, 2014 2 commits
  9. 02 Nov, 2014 2 commits
  10. 01 Nov, 2014 1 commit
    • Dave Syer's avatar
      Make a lazy AuthenticationManager if we think it's already configured · b20d02a3
      Dave Syer authored
      Instead of just blindly creating the default authentication manager, after
      thic change we count the beans of type GlobalAuthenticationManagerConfigurer
      and assume that if we detect more than we expect (one from Boot and one from
      Spring Security) then the user is telling us they want to configure the
      AuthenticationManager themselves.
      
      Fixes gh-1801
      b20d02a3
  11. 30 Oct, 2014 1 commit
    • Andy Wilkinson's avatar
      Make GroovyWebConfiguration conditional on spring-webmvc's availability · 0f171423
      Andy Wilkinson authored
      GroovyWebConfiguration creates a GroovyTemplateViewResolver which is
      a UrlBasedViewResolver sub-class. UrlBasedViewResolver is provided
      by spring-webmvc. Previously, if a user configured a web application
      but did not have spring-webmvc on the classpath, the application
      would fail to start with a NoClassDefFoundError for
      UrlBasedViewResolver.
      
      This commit makes GroovyWebConfiguration conditional on
      UrlBasedViewResolver being on the classpath so that it backs of in
      the absence of spring-webmvc.
      
      Fixes gh-1793
      0f171423
  12. 29 Oct, 2014 2 commits