135 Commits

Author SHA1 Message Date
Andy Wilkinson
411586347c Merge branch '3.0.x' into 3.1.x
Closes gh-37829
2023-10-11 15:04:21 +01:00
Andy Wilkinson
781ac2ece2 Merge branch '2.7.x' into 3.0.x
Closes gh-37828
2023-10-11 15:02:36 +01:00
Johnny Lim
303015ea2d Polish
See gh-37745
2023-10-11 14:57:38 +01:00
Andy Wilkinson
8c8aa19691 Merge branch '3.0.x' into 3.1.x
Closes gh-36797
2023-08-08 12:57:12 +01:00
Andy Wilkinson
355012d40b Merge branch '2.7.x' into 3.0.x
Closes gh-36796
2023-08-08 12:57:00 +01:00
Andy Wilkinson
b978950cb2 Clarify the effect of @EnableWebMvc
Closes gh-36506
2023-08-08 12:56:24 +01:00
Andy Wilkinson
930824a566 Merge branch '3.0.x' into 3.1.x
Closes gh-36793
2023-08-08 12:52:26 +01:00
Andy Wilkinson
4b8a848ecf Merge branch '2.7.x' into 3.0.x
Closes gh-36792
2023-08-08 12:52:14 +01:00
Andy Wilkinson
8dec443e3b Document default for MVC and WebFlux date and time formatting
Closes gh-30041
2023-08-08 12:51:29 +01:00
Andy Wilkinson
f0343df9c5 Merge branch '3.0.x' into 3.1.x
Closes gh-36789
2023-08-08 12:01:25 +01:00
Andy Wilkinson
406e934325 Merge branch '2.7.x' into 3.0.x
Closes gh-36788
2023-08-08 12:01:10 +01:00
Andy Wilkinson
e7203e31c8 Correct documentation of default path matching strategy
Closes gh-32557
2023-08-08 11:48:04 +01:00
Johnny Lim
06157837e5
Polish
See gh-35872
2023-06-16 12:39:03 -07:00
Moritz Halbritter
0cf93f1aa4 Merge branch '3.0.x'
Closes gh-35767
2023-06-07 09:08:54 +02:00
Steve Riesenberg
ba9f92fa86 Improve OAuth2 Client section of docs
* Add an OpenID Connect login client example
* Update redirect-uri examples to match Security docs and not require
  any customization
* Update client-authentication-method for Spring Security 6 usage
* Update provider configuration example to align with Spring
  Authorization Server
* Format Java DSL according to Spring Security docs
* Use Kotlin DSL
* Update redirection endpoint base uri example to use ant pattern

See gh-35679
2023-06-07 09:07:14 +02:00
Andy Wilkinson
6a74f63143 Merge branch '3.0.x'
Closes gh-35634
2023-05-25 14:20:17 +01:00
Andy Wilkinson
a9f89a1e3c Merge branch '2.7.x' into 3.0.x
Closes gh-35633
2023-05-25 14:19:58 +01:00
Andy Wilkinson
f452a86175 Polish "Document audience support in Oauth2 resource server"
See gh-35286
2023-05-25 14:11:44 +01:00
Bikash Adhikari
13c5c6efb1 Document audience support in Oauth2 resource server
See gh-35286
2023-05-25 14:11:27 +01:00
Andy Wilkinson
f06536f642 Polish Authorization Server auto-configuration 2023-03-22 19:26:38 +00:00
Steve Riesenberg
25d77ee70b Add Spring Authorization Server support
See gh-34003
2023-03-21 17:00:35 -07:00
Scott Frederick
a8016b553e Merge branch '2.7.x' into 3.0.x
Closes gh-34705
2023-03-21 15:06:48 -05:00
Scott Frederick
1c05ad2852 Polish "Clarify conventions for custom error pages in WebFlux"
See gh-34534
2023-03-21 14:59:07 -05:00
Dave Syer
f285364f22 Clarify conventions for custom error pages in WebFlux
See gh-34534
2023-03-21 14:59:07 -05:00
Andy Wilkinson
864dfe32a5 Merge branch '2.7.x' into 3.0.x
Closes gh-34190
2023-02-14 21:05:19 +00:00
Andy Wilkinson
fe944ca5cd Polish "Document addition config for throw-exception-if-no-handler-found"
See gh-31660
2023-02-14 21:04:56 +00:00
Michal Domagala
2cad4a7174 Document addition config for throw-exception-if-no-handler-found
See gh-31660
2023-02-14 21:03:15 +00:00
Moritz Halbritter
5a70422d1d Add reference to Spring Authorization Server project 2023-01-09 15:26:40 +01:00
Moritz Halbritter
7922ac63bc Polish documentation 2023-01-09 15:23:27 +01:00
Brian Clozel
28f9f20d39 Declare order for ServerHttpObservationFilter WebFilter
This commit declares an `@Order` for the `ServerHttpObservationFilter`
bean declaration in the Observation WebFlux auto-configuration.

This allows developers to consistently order other `WebFilter` instances
relatively to this one. Here, `@Order(Ordered.HIGHEST_PRECEDENCE + 1)`
has been chosen to align with the order of its MVC counterpart.

Fixes gh-33444
2022-12-19 18:24:36 +01:00
Scott Frederick
87fd27c329 Merge branch '2.7.x' 2022-12-06 14:01:13 -06:00
Scott Frederick
3f33fa3f45 Polish documentation 2022-12-06 14:00:53 -06:00
Vedran Pavic
ca72f322d6 Fix Spring Security filter dispatcher types related docs
See gh-33252
2022-11-18 12:52:07 +00:00
Andy Wilkinson
1481676b54 Merge branch '2.7.x'
Closes gh-33069
2022-11-08 13:15:02 +00:00
Andy Wilkinson
bb141ffc09 Merge branch '2.6.x' into 2.7.x
Closes gh-33068
2022-11-08 13:14:30 +00:00
EricGao888
569e752159 Fix a minor bug in an example in oauth2 doc
See gh-32931
2022-11-08 13:14:06 +00:00
Phillip Webb
3e50836b1a Rename httptrace endpoint and related classes to httpexchanges
Rename `/actuator/httptrace` to `/actuator/httpexchanges` to better
describe its purpose and to remove confusion with distribute tracing.

This change also takes the opportunity to improve the code by making
the `HttpExchange` class (previously `HttpTrace`) fully immutable.

Closes gh-32885

Co-authored-by: Andy Wilkinson <wilkinsona@vmware.com>
2022-10-27 16:34:42 -07:00
Andy Wilkinson
67e4ac4f1e Remove stale reference to MetricsWebFilter from the docs
Closes gh-32909
2022-10-27 16:56:34 +01:00
Phillip Webb
0219b222c2 Merge branch '2.7.x' 2022-10-19 22:03:18 -07:00
Phillip Webb
d3750c4991 Merge branch '2.6.x' into 2.7.x 2022-10-19 22:01:13 -07:00
Phillip Webb
c416c17fe8 Polish documentation title case 2022-10-19 21:53:21 -07:00
Madhura Bhave
ce3c933f77 Adapt to Spring Security changes
Closes gh-32604
2022-10-19 11:46:27 -07:00
Brian Clozel
23a9818e0d Auto-configure ProblemDetails support
This commit auto-configures ProblemDetails support for both Spring MVC
and Spring WebFlux, contributing a `@ControllerAdvice` annotated
`ResponseEntityExceptionHandler` bean if the
`spring.mvc.problemdetails.enabled` or
`spring.webflux.problemdetails.enabled` properties are set to `true`.

Closes gh-32634
2022-10-07 17:23:12 +02:00
Andy Wilkinson
51df7813a5 Remove code deprecated in 2.x and add since and forRemoval attributes
Closes gh-32548
Closes gh-32549
2022-09-30 14:39:05 +01:00
Brian Clozel
56dcae8a3c Merge branch '2.7.x'
Closes gh-32471
2022-09-21 21:11:29 +02:00
Brian Clozel
8f9323d66c Document "classpath:*" location for GraphQL Schemas
This commit mentions the `"classpath*:graphql/**` schema location in
case the application needs to find schemas across multiple classpath
roots, for example across multiple modules.

Closes gh-31772
2022-09-21 21:09:22 +02:00
Vedran Pavic
94f42d11e5 Add support for customizing WebJars resource handler path pattern
At present, both Spring MVC and Spring WebFlux auto-configurations
hardcode the path pattern for WebJars resource handlers to
"/webjars/**", which means users are unable to change the path.

This commit introduces "spring.mvc.webjars-path-pattern" and
"spring.webflux.webjars-path-pattern" configuration properties that
allow customization of WebJars resource handler path pattern.

See gh-31769
2022-09-07 11:46:19 +02:00
Stephane Nicoll
1efad88c8c Merge branch '2.7.x'
Closes gh-32027
2022-08-09 09:53:22 +02:00
Stephane Nicoll
6e64f49593 Merge branch '2.6.x' into 2.7.x
Closes gh-32026
2022-08-09 09:53:13 +02:00
Stephane Nicoll
12c1da275b Polish contribution
See gh-32004
2022-08-09 09:52:11 +02:00