1. 13 Jan, 2017 2 commits
    • Andy Wilkinson's avatar
      Set value of javax.servlet.error.exception_type to a Class not a String · 7298b2dc
      Andy Wilkinson authored
      Previously, ErrorPageFilter set the value of
      javax.servlet.error.exception_type to be the name of the exception,
      (a java.lang.String). This commit changes it to be a java.lang.Class
      as required by the Servlet spec.
      
      Closes gh-7925
      7298b2dc
    • Andy Wilkinson's avatar
      Remove redundant logic from OAuth2MethodSecurityConfiguration · 6f7d1de1
      Andy Wilkinson authored
      Previously, OAuth2MethodSecurityConfiguration set the
      PermissionEvaluator on the expression evaluator by looking in the
      context for a PermissionEvaluator bean. This is unnecessary as
      GlobalMethodSecurityConfiguration already does the same thing and does
      so after the post-processor in OAuth2MethodSecurityConfiguration has
      run. This commit removes the redundant logic and adds tests to check
      that both the PermissionEvaluator and the RoleHierarchy are set use
      beans in the context.
      
      Closes gh-7979
      6f7d1de1
  2. 12 Jan, 2017 1 commit
  3. 10 Jan, 2017 6 commits
  4. 08 Jan, 2017 3 commits
  5. 06 Jan, 2017 1 commit
  6. 05 Jan, 2017 1 commit
  7. 03 Jan, 2017 2 commits
    • Phillip Webb's avatar
      Fix ManagementContextConfiguration @Order support · 73201198
      Phillip Webb authored
      Update `ManagementContextConfigurationsImportSelector` to instantiate
      classes so that order annotations are respected.
      
      Fixes gh-7814
      73201198
    • Phillip Webb's avatar
      Fix TestRestTemplate.withBasicAuth interceptors · 556ce14f
      Phillip Webb authored
      Update `TestRestTemplate` to handle `BasicAuthorizationInterceptor`s
      correctly. Prior to this commit the `BasicAuthorizationInterceptor`
      was added directly to the `ClientHttpRequestFactory` rather than
      to the `RestTemplate`. This meant that it could not easily be removed
      when `TestRestTemplate.withBasicAuth` was invoked.
      
      The `TestRestTemplate` now sets the interceptor on `RestTemplate`
      directly and relies on the logic in `InterceptingHttpAccessor` to
      add it to the `ClientHttpRequestFactory`.
      
      Fixes gh-7812
      556ce14f
  8. 30 Dec, 2016 3 commits
  9. 29 Dec, 2016 1 commit
  10. 28 Dec, 2016 4 commits
    • Phillip Webb's avatar
      Fix Devtools PatternResolver Servlet support · 61c93194
      Phillip Webb authored
      Update ClassLoaderFilesResourcePatternResolver to support servlet
      resources when it's being used with a WebApplicationContext.
      
      Prior to commit 918e122d a `ResourceLoader` was not added to the
      `ApplicationContext`, meaning that servlet resources could be found by
      virtue of the protected `getResourceByPath()` method. Following commit
      918e122d, the context `ResourceLoader` is set, meaning that all calls
      to `getResource` delegate to the `ResourceLoader` and the
      `ApplicationContext` methods are not invoked. Since the devtools
      `ResourceLoader` wasn't Servlet aware, servlet resources could not
      be found.
      
      Fixes gh-7752
      61c93194
    • Stephane Nicoll's avatar
      Fix build failure (II) · 3389af2c
      Stephane Nicoll authored
      3389af2c
    • Stephane Nicoll's avatar
      Fix build failure · 6ecb525a
      Stephane Nicoll authored
      6ecb525a
    • Stephane Nicoll's avatar
      Polish documentation · a862b6dc
      Stephane Nicoll authored
      Closes gh-7771
      a862b6dc
  11. 27 Dec, 2016 10 commits
  12. 26 Dec, 2016 2 commits
  13. 25 Dec, 2016 1 commit
  14. 23 Dec, 2016 2 commits
  15. 21 Dec, 2016 1 commit