Commit Graph

54210 Commits

Author SHA1 Message Date
yongjunhong
8f535b266c Fail fast when base path and an endpoint mapping are set to '/'
Throw an exception if actuator is running on the main server port and
the base path and an individual mapping are set to '/'.

See gh-45251

Signed-off-by: yongjunhong <dev.yongjunh@gmail.com>
2025-04-22 11:59:51 -07:00
Stéphane Nicoll
c46d19f126 Merge branch '3.4.x' 2025-04-22 16:50:54 +02:00
Stéphane Nicoll
c535d3a34a Merge branch '3.3.x' into 3.4.x 2025-04-22 16:50:45 +02:00
Stéphane Nicoll
da47e43e4f Upgrade to Spring WS 4.1.0-RC1
Closes gh-45149
2025-04-22 16:50:01 +02:00
Stéphane Nicoll
ad349daeac Upgrade to Spring Security 6.5.0-RC1
Closes gh-45147
2025-04-22 16:50:01 +02:00
Stéphane Nicoll
0c674621ad Upgrade to Spring Data Bom 2025.0.0-RC1
Closes gh-45141
2025-04-22 16:50:01 +02:00
Stéphane Nicoll
22929dc82e Upgrade to Spring WS 4.0.13
Closes gh-45099
2025-04-22 16:49:35 +02:00
Stéphane Nicoll
d8d208ca70 Upgrade to Spring Security 6.4.5
Closes gh-45097
2025-04-22 16:49:35 +02:00
Stéphane Nicoll
c1b8e7792a Upgrade to Spring Data Bom 2024.1.5
Closes gh-45090
2025-04-22 16:49:35 +02:00
Stéphane Nicoll
59b9b7cd33 Upgrade to Spring AMQP 3.2.5
Closes gh-45088
2025-04-22 16:49:35 +02:00
Stéphane Nicoll
2ffea0f344 Upgrade to Spring WS 4.0.13
Closes gh-45062
2025-04-22 16:48:13 +02:00
Stéphane Nicoll
79d18dde66 Upgrade to Spring Security 6.3.9
Closes gh-45060
2025-04-22 16:48:13 +02:00
Stéphane Nicoll
038063a881 Upgrade to Spring Data Bom 2024.0.11
Closes gh-45056
2025-04-22 16:48:13 +02:00
Stéphane Nicoll
416f408be6 Upgrade to Spring AMQP 3.1.11
Closes gh-45054
2025-04-22 16:48:13 +02:00
Andy Wilkinson
231396e6ba Restructure OAuth2 client auto-configuration
Previously, OAuth2 client auto-configuration was managed by a single
class:

- OAuth2ClientAutoConfiguration for servlet apps
- ReactiveOAuth2ClientAutoConfiguration for reactive apps

OAuth2ClientAutoConfiguration being for servlet apps meant that
a blocking OAuth2 client was not availabile in a non-web application.

The auto-configuration classes did two things:

- Auto-configured beans that are specific to server-side web security
  that uses an OAuth2 client
- Auto-configured OAuth2 client beans that may be used client- or
  server-side

Combining these two things into a single auto-configuration class
meant that you could not choose to use one or the other. For example,
you may want to make use of an OAuth2 client in a web application
without also using OAuth2 client-based web security.

This commit restructures the auto-configuration to address these
problems. There are now two auto-configurations for non-reactive apps:

- OAuth2ClientAutoConfiguration
- OAuth2ClientWebSecurityAutoConfiguration

and two auto-configurations for reactive apps:

- ReactiveOAuth2ClientAutoConfiguration
- ReactiveOAuth2ClientWebSecurityAutoConfiguration

This separation allows one to be used without the other. Furthermore,
the conditions have been updated so that, for example, the blocking
OAuth2 client is available in a non-web application.

Closes gh-40997
Closes gh-44906

Co-authored-by: Moritz Halbritter <moritz.halbritter@broadcom.com>
2025-04-22 15:31:35 +01:00
Phillip Webb
c6e47d063a Merge branch '3.4.x' 2025-04-21 20:19:46 -07:00
Phillip Webb
7ad9401d8b Migrate from deprecated Spring Pulsar methods
See gh-45096
2025-04-21 20:19:42 -07:00
Phillip Webb
fedcc0c82a Merge branch '3.4.x' 2025-04-21 19:11:28 -07:00
Phillip Webb
11262601ce Merge branch '3.3.x' into 3.4.x 2025-04-21 19:11:13 -07:00
Phillip Webb
e28e215bdd Add 'workflow_dispatch:' for manual trigger 2025-04-21 19:11:05 -07:00
Phillip Webb
65b910108c Upgrade to Pulsar Reactive 0.6.0
Closes gh-45248
2025-04-21 16:12:13 -07:00
Stéphane Nicoll
5ae53e1eae Merge pull request #45240 from izeye
* pr/45240:
  Restore visibility for DockerComposeProperties.get()

Closes gh-45240
2025-04-21 08:37:12 +02:00
Johnny Lim
69f0b7a1e0 Restore visibility for DockerComposeProperties.get()
See gh-45240

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-04-21 08:34:17 +02:00
Stéphane Nicoll
238d83b318 Merge branch '3.4.x'
Closes gh-45242
2025-04-21 08:33:20 +02:00
Stéphane Nicoll
00d68399a7 Merge branch '3.3.x' into 3.4.x
Closes gh-45241
2025-04-21 08:32:14 +02:00
Stéphane Nicoll
414a7511a3 Merge pull request #45238 from EvaristeGalois11
* pr/45238:
  Fix documentation links to buildpacks.io

Closes gh-45238
2025-04-21 08:31:25 +02:00
Claudio Nave
6a997d1026 Fix documentation links to buildpacks.io
See gh-45238

Signed-off-by: Claudio Nave <evaristegalois11@proton.me>
2025-04-21 08:30:35 +02:00
Stéphane Nicoll
30e69a7e8c Merge branch '3.4.x'
Closes gh-45236
2025-04-18 15:50:59 +02:00
Stéphane Nicoll
a73d8d78ab Merge branch '3.3.x' into 3.4.x
Closes gh-45235
2025-04-18 15:50:40 +02:00
Stéphane Nicoll
9bcf32afe7 Stop assuming that Neo4jDataAutConfiguration ran
This commit updates the conditions in Neo4jReactiveDataAutoConfiguration
so that it gracefully backs off if certain beans are not present, rather
than assuming its sibling Neo4jDataAutoConfiguration has run.

Closes gh-44930
2025-04-18 15:44:35 +02:00
Stéphane Nicoll
18f4dbd365 Merge pull request #45232 from nosan
* pr/45232:
  Polish contribution
  Document that a bootstrap executor for the context is auto-configured

Closes gh-45232
2025-04-18 14:55:20 +02:00
Stéphane Nicoll
f797fabc8b Polish contribution
See gh-45232
2025-04-18 14:54:14 +02:00
Dmytro Nosan
74222a64fc Document that a bootstrap executor for the context is auto-configured
Document that `applicationTaskExecutor` as a bootstrap executor for the
context if no `bootstrapExecutor` bean is defined.

See gh-45232

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-04-18 14:26:53 +02:00
Stéphane Nicoll
307dff2bc7 Merge branch '3.4.x' 2025-04-18 07:28:38 +02:00
Stéphane Nicoll
8d581571d1 Merge branch '3.3.x' into 3.4.x 2025-04-18 07:28:28 +02:00
Stéphane Nicoll
b7f7aae012 Upgrade to Spring LDAP 3.3.0-RC1
Closes gh-45145
2025-04-18 07:22:58 +02:00
Stéphane Nicoll
3a11dee539 Upgrade to Spring HATEOAS 2.5.0-RC1
Closes gh-45234
2025-04-18 07:22:58 +02:00
Stéphane Nicoll
f2986143f1 Upgrade to Spring LDAP 3.2.12
Closes gh-45095
2025-04-18 07:21:22 +02:00
Stéphane Nicoll
7ef2ee2096 Upgrade to Spring LDAP 3.2.12
Closes gh-45059
2025-04-18 07:21:09 +02:00
Phillip Webb
5a17f2c7f1 Fixup tests that rely on TestRestTemplate redirects
See gh-43431
2025-04-17 18:11:33 -07:00
Phillip Webb
284c78f737 Fixup tests that rely on TestRestTemplate redirects
See gh-43431
2025-04-17 17:48:23 -07:00
Phillip Webb
5eee67b8da Fixup tests that rely on TestRestTemplate redirects
See gh-43431
2025-04-17 15:29:30 -07:00
Phillip Webb
47c230b024 Allow withTlsSocketStrategyFactory to work without SSL bundle
Update `HttpComponentsHttpClientBuilder` so that
`withTlsSocketStrategyFactory` is called even if there is no SSL
bundle.

See gh-43422
2025-04-17 15:27:41 -07:00
Phillip Webb
17b2eddeef Fix checkstyle violations
See gh-43422
2025-04-17 15:27:06 -07:00
Phillip Webb
12dbe801e9 Align TestRestTemplate redirect defaults
Align redirect settings of `TestRestTemplate` with other blocking
clients and deprecate `HttpClientOption.ENABLE_REDIRECTS`. A new
`withRedirects` convenience method has also been added to quickly
allow the setting to be changed.

Closes gh-43431
2025-04-17 14:28:39 -07:00
Phillip Webb
7817797970 Drop custom CustomHttpComponentsClientHttpRequestFactory
Replace `CustomHttpComponentsClientHttpRequestFactory` with
`HttpComponentsClientHttpRequestFactoryBuilder` to reduce the amount
of duplicated logic.

Closes gh-43422
2025-04-17 14:28:39 -07:00
Andy Wilkinson
a5722832d2 Polish
See gh-45231
2025-04-17 16:00:53 +01:00
Andy Wilkinson
8641df7209 Merge branch '3.4.x'
Closes gh-45231
2025-04-17 15:47:45 +01:00
Andy Wilkinson
3f6fe9fb39 Merge branch '3.3.x' into 3.4.x
Closes gh-45230
2025-04-17 15:47:21 +01:00
Andy Wilkinson
3aa352a2cd Merge pull request #45202 from nosan
* gh-45202:
  Polish "Use ClassLoader with ArchitectureCheck"
  Use ClassLoader with ArchitectureCheck

Closes gh-45202
2025-04-17 15:47:15 +01:00