1. 03 Mar, 2014 5 commits
    • Dave Syer's avatar
      Add actuator to method security sample · 8ff9e677
      Dave Syer authored
      8ff9e677
    • Dave Syer's avatar
      Add method security web sample · 9504f6e5
      Dave Syer authored
      Useful sample for common use case where user adds custom Authentication,
      a form login, *and* global method security all the the same application.
      9504f6e5
    • Dave Syer's avatar
      Fix tests · b0b7bc0e
      Dave Syer authored
      Some assumptions were being made in tests, e.g. about
      there being an AuthenticationManager @Bean, which were
      false with the new Security 3.2.1 updates from Rob.
      
      Also parent-child contexts with the actuator were
      problematic because they didn't exclude the web configuration
      for the management security in the parent context.
      
      Fixes gh-244
      b0b7bc0e
    • Rob Winch's avatar
      Update to Spring Security 3.2.1 · 6b0eba37
      Rob Winch authored
      Also change strategy for defaulting of Authentication. Spring
      Boot authentication defaults are now encapsulated and can easily
      be overridden by a user defined AuthenticationManager.
      6b0eba37
    • Dave Syer's avatar
      Add ErrorWrapperEmbeddedServletContainerFactory for error pages in WARs · 13e040c0
      Dave Syer authored
      Error pages are a feature of the servlet spec but there is no Java API for
      registering them in the spec. This filter works around that by accepting error page
      registrations from Spring Boot's EmbeddedServletContainerCustomizer (any beans
      of that type in the context will be applied to this container).
      
      In addition the ErrorController interface was enhanced to provide callers
      the option to suppress logging.
      
      Fixes gh-410
      13e040c0
  2. 28 Feb, 2014 3 commits
  3. 27 Feb, 2014 4 commits
  4. 26 Feb, 2014 6 commits
  5. 25 Feb, 2014 5 commits
  6. 24 Feb, 2014 17 commits
    • Phillip Webb's avatar
      Support EL without jasper by using tomcat-embed-el · 0322c5f5
      Phillip Webb authored
      Add `tomcat-embed-el` dependency (newly released as part of Tomcat
      7.0.52) allowing EL usage without jasper.
      
      Fixes gh-248
      0322c5f5
    • Phillip Webb's avatar
      Upgrade to Tomcat 7.0.52 · c44f902a
      Phillip Webb authored
      Fixes gh-245
      c44f902a
    • Phillip Webb's avatar
      Polish · 0260297a
      Phillip Webb authored
      0260297a
    • Phillip Webb's avatar
      Merge pull request #365 from olivergierke/master · cd3d4b48
      Phillip Webb authored
      * pull365:
        Upgrade to Spring Data Codd GA release.
      cd3d4b48
    • Oliver Gierke's avatar
      Upgrade to Spring Data Codd GA release. · af458cb2
      Oliver Gierke authored
      Adapt auto-configuration code to use the new constructor introduced
      in Spring Data Commons' AnnotationConfigurationSource.
      
      Fixes gh-365
      af458cb2
    • Phillip Webb's avatar
      Revert "Omit jar: prefix from jarFileUrl" · 865c51d7
      Phillip Webb authored
      Restore previous behavior where JarFile URLs are always prefixed with
      "jar:". I believe that the prefix is required in order to remain
      compatible with standard JAR URLs.
      
      This reverts commit 825fc2f7.
      865c51d7
    • Phillip Webb's avatar
      Polish · cf23b519
      Phillip Webb authored
      cf23b519
    • Dave Syer's avatar
      Add retry and parameter increment logic to job runner · 89473077
      Dave Syer authored
      The existing behaviour of JobLauncherCommandLineRunner was really too
      basic. It has now been enhanced (at the expense of duplicating a lot
      of code in Spring Batch it seems) to automatically increment job
      parameters if it can, and to retry a failed or stopped execution
      if it can (without incrementing, but with additional job parameters
      added from command line if they are non-identifying).
      
      The JobLauncherCommandLineRunner is more extendable and exposes
      its DI wiring points now as well, so hopefully users can make
      use of it independently of autoconfig (by providing a @Bean of
      that type).
      
      Not everything from the wishlist in gh-325 is implememented yet,
      but it should be a good platform to work with and to extend.
      89473077
    • Dave Syer's avatar
      Skip unnecessary attempt at executing Job · 09f3ee14
      Dave Syer authored
      ...that was already executed as part of the "local" set.
      
      Also added some howto docs on executing Batch jobs.
      
      See gh-382
      09f3ee14
    • hoserdude's avatar
      3ad6c96c
    • Dave Syer's avatar
      Add /mappings endpoint · 08d8cb8e
      Dave Syer authored
      Lists AbstractUrlMappings and AbstractHandlerMethodMappings
      in a loose Map structure. E.g.
      
      {
        "/**/favicon.ico": {
          "bean": "faviconHandlerMapping"
        },
        "/**": {
          "bean": "resourceHandlerMapping"
        },
        "/webjars/**": {
          "bean": "resourceHandlerMapping"
        },
        "{[/error],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}":
           {
             "bean": "requestMappingHandlerMapping",
             "method": "public java.util.Map<java.lang.String, java.lang.Object> org.springframework.boot.actuate.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)"
      ...
      }
      
      Fixes gh-378
      08d8cb8e
    • Dave Syer's avatar
      Make sure metricsExecutor is shutdown cleanly · d98bfdea
      Dave Syer authored
      The default executor for publishing metrics was a single
      thread (native JDK) ExecutorService with a non-daemon thread.
      Changed it to a Spring-managed thread pool of size 1, which
      is then shutdown with e ApplicationContext automatically.
      
      Fixes gh-388
      d98bfdea
    • Dave Syer's avatar
      Fail on startup if Thymeleaf template directory missing · f38a36ff
      Dave Syer authored
      Better even than logging would be to fail fast? Surely it's a
      mistake not to have any /templates if Thymeleaf is in use.
      User can disable failfast by exlcuding thymeleaf configuration
      or by providing their own ITemplateResolver.
      
      Fixes gh-294
      f38a36ff
    • Dave Syer's avatar
      Switch default to fail on error in SQL initialization · 8d9c26b2
      Dave Syer authored
      User can switch the behaviour on and off with
      spring.datasource.continueOnError:true|false. I decided
      not to add an extra nested level of property resolution
      because of the existing spring.datasource.schema
      (and other properties relating to initialization) because
      concision seemed like a good thing with those more common
      settings.
      
      Fixes gh-374
      8d9c26b2
    • Dave Syer's avatar
      Fix shade configuration in parent pom · 766da911
      Dave Syer authored
      The Spring resource transformer class name changed
      (at least once) since the parent was originally
      created.
      
      Fixes gh-384
      766da911
    • Dave Syer's avatar
      Check for a mainClass in "run" task if there is one · 511fff05
      Dave Syer authored
      If there is a run task with an explicit main it can be used
      by the repackage task (assuming its own native setting is
      not used).
      
      Fixes gh-389
      511fff05
    • joschs's avatar
      Applying RelaxedNames before filtering PropertySources · b7802f98
      joschs authored
      ... to allow for OS_VAR to be bound to a @ConfigurationPropertes("os")
      class with field "var".
      
      Fixes gh-387, Fixes gh-391
      b7802f98