Commit Graph

5200 Commits

Author SHA1 Message Date
Phillip Webb
7ad9401d8b Migrate from deprecated Spring Pulsar methods
See gh-45096
2025-04-21 20:19:42 -07: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
Andy Wilkinson
3f6fe9fb39 Merge branch '3.3.x' into 3.4.x
Closes gh-45230
2025-04-17 15:47:21 +01:00
Dmytro Nosan
bb3cf6c088 Use ClassLoader with ArchitectureCheck
Prior to this commit, certain rules, like BeanPostProcessor,
did not work with external classes. This commit ensures that
ArchRules are executed within a context ClassLoader that includes
all classes from the compile classpath.

See gh-45202

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-04-17 15:46:59 +01:00
Stéphane Nicoll
e35cd81f4c Merge branch '3.3.x' into 3.4.x
Closes gh-45219
2025-04-17 10:18:31 +02:00
Stéphane Nicoll
cd31127ac0 Polish contribution
See gh-44954
2025-04-17 10:10:31 +02:00
Dennis Melzer
6801b1a365 Use proper default exception translator if no dbName is available
This commit updates jOOQ's DefaultExceptionTranslatorExecuteListener to
fallback on Spring Framework's default if no dbName is available.

See gh-44954

Signed-off-by: Dennis Melzer <dennis.melzer@de.bosch.com>
2025-04-17 09:43:23 +02:00
Phillip Webb
0dca16c7eb Merge branch '3.3.x' into 3.4.x
Closes gh-45194
2025-04-14 18:57:26 -07:00
Phillip Webb
9b1b7e608c Prevent 'not eligible for getting processed' warnings when using JMX
Update auto-configured `IntegrationMBeanExporter` to be created from
a static method since it's a post-processor. Relevant injection now
occurs by overriding the `afterSingletonsInstantiated()` method.

Closes gh-45186
2025-04-14 18:55:28 -07:00
Andy Wilkinson
3ce83e449f Merge branch '3.3.x' into 3.4.x
Closes gh-45178
2025-04-14 11:52:06 +01:00
Andy Wilkinson
3233341d45 Improve class conditions on auth server JWT auto-config
Prior to this change, introspection of the auto-configuration could
fail due to insufficient protection against missing classes.

This commit introduces an extra class-level check for Nimbus's
JWKSource which ensures that the auto-configuration backs off if
nimbus-jose-jwt has been excluded. It also introduces an inner-class
for the case where spring-security-oauth2-jose is not on the
classpath. This ensures that the method defining the jwtDecoder bean
does not cause an introspection failure when JwtDecoder is missing.

Closes gh-45177
2025-04-14 11:51:49 +01:00
Phillip Webb
35dc8e6f88 Merge branch '3.3.x' into 3.4.x 2025-04-11 09:42:13 -07:00
Phillip Webb
c9b8470255 Align proxies with defaults from Tomcat 10.1.40
See gh-45084
2025-04-10 12:21:44 -07:00
Phillip Webb
3726d6e3aa Align proxies with defaults from Tomcat 10.1.40
See gh-45071
2025-04-10 12:03:56 -07:00
Phillip Webb
cf39de4df4 Merge branch '3.3.x' into 3.4.x 2025-04-07 16:20:58 -07:00
Phillip Webb
5d1e488344 Polish 2025-04-07 16:20:52 -07:00
Moritz Halbritter
c7608ec495 Merge branch '3.3.x' into 3.4.x
Closes gh-45023
2025-04-07 14:38:45 +02:00
Yanming Zhou
89fb48691a Polish AutoConfigurationMetadataLoader
Align to other final classes, the protected modifier is meaningless.

See gh-45020

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-04-07 14:30:02 +02:00
Dmytro Nosan
5e966f9576 Polish RestClientAutoConfiguration and RestClientBuilderConfigurer
See gh-44982

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-04-07 10:48:43 +02:00
Andy Wilkinson
63adda60d7 Merge branch '3.3.x' into 3.4.x
Closes gh-45002
2025-04-04 12:09:00 +01:00
Andy Wilkinson
3e9dddb42c Allow data source class name to be specified when using Hikari
Closes gh-44938
2025-04-04 11:14:47 +01:00
Andy Wilkinson
e107e11bb8 Merge branch '3.3.x' into 3.4.x
Closes gh-44998
2025-04-04 09:28:03 +01:00
Andy Wilkinson
e9fff8150d Avoid triggering NPE in Hikari with null driverClassName
Previously, the post-processing of HikariDataSource to apply custom
connection details would trigger an NPE in Hikari if those details
supplied a null driverClassName.

This commit avoids the problem by only setting the driverClassName
when it is non-null.

Closes gh-44997
2025-04-04 09:14:44 +01:00
Phillip Webb
fc9937d05a Merge branch '3.3.x' into 3.4.x 2025-04-03 18:06:33 -07:00
Phillip Webb
c96835bc9d Merge branch '3.3.x' into 3.4.x
Closes gh-44992
2025-04-03 18:02:57 -07:00
Phillip Webb
f2d367a130 Update 'for removal in' comments since 3.5 will be the last 3.x release
Closes gh-44959
2025-04-03 17:52:22 -07:00
Andy Wilkinson
703ecef0bf Merge branch '3.3.x' into 3.4.x
Closes gh-44974
2025-04-02 11:24:31 +01:00
Dmytro Nosan
a55f5f0aac Fix CassandraRepositoriesAutoConfigurationTests
Update CassandraRepositoriesAutoConfigurationTests to use the correct
'spring.data.cassandra.repositories.type' property.

See gh-44942

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-04-02 10:45:50 +01:00
Andy Wilkinson
7630c7c505 Merge branch '3.3.x' into 3.4.x
Closes gh-44972
2025-04-02 10:40:55 +01:00
Johnny Lim
f3d2ab824e Polish
See gh-44949

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-04-02 10:15:36 +01:00
Andy Wilkinson
b1fb36bf4b Merge branch '3.3.x' into 3.4.x
Closes gh-44968
2025-04-01 10:31:59 +01:00
Andy Wilkinson
a8381e7cbd Ensure that only spring-core's ReflectionUtils is used
Closes gh-44837
2025-04-01 10:30:58 +01:00
Andy Wilkinson
6ad48639c2 Back port 246c4a2 to 3.3.x
The changes do not apply cleanly when cherry-picked so they
have been redone manually.

Closes gh-44941
2025-03-28 16:48:50 +00:00
Andy Wilkinson
96ffb2b1a0 Merge branch '3.3.x' into 3.4.x
Closes gh-44940
2025-03-28 16:27:38 +00:00
Andy Wilkinson
bed6ad3c43 Polish UserDetailsServiceAutoConfigurationTests
Closes gh-44939
2025-03-28 16:26:47 +00:00
Andy Wilkinson
16e4449a33 Merge branch '3.3.x' into 3.4.x
Closes gh-44936
2025-03-28 14:49:48 +00:00
Andy Wilkinson
aab929d029 Polish ReactiveUserDetailsServiceAutoConfigurationTests
Closes gh-44934
2025-03-28 14:49:21 +00:00
Andy Wilkinson
37164603a4 Merge branch '3.3.x' into 3.4.x 2025-03-28 09:10:35 +00:00
Andy Wilkinson
d1345c4d9e Address javadoc warnings in FileWatcherTests 2025-03-28 09:10:19 +00:00
Brian Clozel
ac9ad4598d Merge branch '3.3.x' into 3.4.x
Closes gh-44887
2025-03-25 18:20:03 +01:00
Dmytro Nosan
14bbceb038 Watch symlinks for changes for SSL hot reloading
Prior to this commit, the SSL file hot reloading feature would
create file watchers for all configured locations and would resolve
symbolic links if they're found as registrations.

This arrangement would work for typical Let's Encrypt setups, but
would not get notified of consecutive changes for k8s setups.
Kubernetes uses a mix of symlinks and atomic file moves to update
secrets.

This commit not only tracks changes to symlinks targets, but also
to the original symlink.

Closes gh-44807

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
[brian.clozel@broadcom.com: apply code conventions]
Signed-off-by: Brian Clozel <brian.clozel@broadcom.com>
2025-03-25 18:19:02 +01:00
Stéphane Nicoll
7424ad59ee Merge branch '3.3.x' into 3.4.x
Closes gh-44874
2025-03-25 11:27:50 +01:00
Stéphane Nicoll
b67a6551f9 Stop relying on jakarta.annotation in EmbeddedLdapAutoConfiguration
Closes gh-44870
2025-03-25 11:21:20 +01:00
Stéphane Nicoll
ba3de2bd35 Merge branch '3.3.x' into 3.4.x
Closes gh-44843
2025-03-21 16:46:50 +01:00
Stéphane Nicoll
c7f31ed12f Stop relying on test resources from another package
Closes gh-44836
2025-03-21 16:46:06 +01:00
Stéphane Nicoll
7368b34d85 Merge branch '3.3.x' into 3.4.x
Closes gh-44841
2025-03-21 16:44:16 +01:00
Stéphane Nicoll
f94418dd6d Remove outdated classpath exclusions on Hazelcast client
Hazelcast client is no longer shipped as a separate JAR so the exclusion
doesn't do anything.

Closes gh-44835
2025-03-21 16:40:11 +01:00
Stéphane Nicoll
ac7d921d87 Merge branch '3.3.x' into 3.4.x
Closes gh-44839
2025-03-21 16:37:32 +01:00
Stéphane Nicoll
ced7eff799 Relocate JpaWebAutoConfigurationTests
Closes gh-44834
2025-03-21 16:29:19 +01:00