1. 13 Mar, 2014 8 commits
    • Phillip Webb's avatar
      Add initial reference manual documentation · 163509b5
      Phillip Webb authored
      See gh-295
      163509b5
    • Phillip Webb's avatar
      Add documentation tool-chain · abba0d63
      Phillip Webb authored
      Generate html, pdf and epub documentation using asciidoctor+docbook.
      
      See gh-295
      abba0d63
    • Phillip Webb's avatar
      Polish · 22e397cd
      Phillip Webb authored
      22e397cd
    • Dave Syer's avatar
      Additionally check for null on registring Servlets and Filters · 7f831670
      Dave Syer authored
      See gh-482
      7f831670
    • Dave Syer's avatar
      Register an AuthenticationManager in security autoconfig · 3d437711
      Dave Syer authored
      This is quite a big step, but I think it helps a lot. Since Spring
      Boot always creates an AuthenticationManager if it doesn't find one
      already registered, it makes sense to also make it into a @Bean.
      Spring Security does not register its AuthenticationManager by
      default though, so we have to do that for it if the user has created
      one with an @Autowired AuthenticationManagerBuilder, but not registered
      it as a @Bean.
      
      Having the @Bean (marked @Primary to prevent issues with @Autowired)
      makes it easier to reason about what Spring Boot has done for you, and
      easier to default in simple use cases to the boot-created
      AuthenticationManager. For example, if I want an OAuth2 Authorization
      Server with password grant, it makes total sense for the
      AuthenticationManager for users to be the same as the @Primary one.
      Now it is easy to set that up (just @Autowire it).
      3d437711
    • Dave Syer's avatar
      Tidy up implementation of DispatcherServletAutoConfiguration · 85a56a79
      Dave Syer authored
      also adds another test.
      85a56a79
    • Dave Syer's avatar
      Extend DefaultDispatcherServletCondition to check for a registration · 659d7b6d
      Dave Syer authored
      ...bean with no explicit @Bean DispatcherServlet. We still have to check
      by bean name (slightly unfortunate, but we need to avoid instantiating
      too early) so there's now another magic
      bean name for the registration bean ("dispatcherServletRegistration")
      that the user has to replace if he wants the registration without
      defining a servlet @Bean
      
      Fixes gh-482
      659d7b6d
    • Dave Syer's avatar
      Add escape hatch for ClassLoader.findResource() for invalid path · a71c9b5d
      Dave Syer authored
      The source of the exception is in sun.misc (so hard to track down precisely)
      but it's clear that the LaunchedJarURLClassLoader needs to be more
      defensive and return null from findResource() if it can't find it.
      
      Fixes gh-486
      a71c9b5d
  2. 12 Mar, 2014 4 commits
  3. 11 Mar, 2014 9 commits
  4. 10 Mar, 2014 4 commits
  5. 09 Mar, 2014 2 commits
    • Piotr Maj's avatar
      Added testWhileIdle etc. · cb6739b4
      Piotr Maj authored
      Fixes gh-463
      cb6739b4
    • Andy Piper's avatar
      fix link to install.txt · 695b3917
      Andy Piper authored
      Explicitly link to install.txt in source repo to avoid issues on projects.spring.io with a broken relative link
      ... also fix this for rendered markdown on GH itself :-)
      695b3917
  6. 08 Mar, 2014 3 commits
  7. 07 Mar, 2014 4 commits
  8. 06 Mar, 2014 2 commits
    • Dave Syer's avatar
      Special case for root of classpath resource in archive · 8168e8a3
      Dave Syer authored
      This turns out to affect JPA, but only because it looks for a URL for the
      root of the classpath using ClassLoader.getResource("") which barfs in
      an app launched from an executable JAR. It's easy to make a special case
      for "" in the class loader, so I went ahead and did that. Possibly need
      to think what the implication of getResources("") is as well (not
      tested in an app yet).
      
      Fixes gh-420
      8168e8a3
    • Dave Syer's avatar
      Use java.io.tmpdir instead of /tmp · afac0853
      Dave Syer authored
      Fixes gh-441
      afac0853
  9. 05 Mar, 2014 4 commits