Commit Graph

50613 Commits

Author SHA1 Message Date
Scott Frederick
9811cc030f Fix LifecycleTests for security options on Windows
Fixes gh-37598
2023-09-27 10:09:44 -05:00
Andy Wilkinson
8fec430347 Merge pull request #37473 from vpavic
* gh-37473:
  Polish "Add config prop for JMS listener's sessionTransacted flag"
  Add config prop for JMS listener's sessionTransacted flag

Closes gh-37473
2023-09-27 15:35:01 +01:00
Andy Wilkinson
0d2eaa716c Polish "Add config prop for JMS listener's sessionTransacted flag"
See gh-37473
2023-09-27 15:07:36 +01:00
Vedran Pavic
79e2cb3ec1 Add config prop for JMS listener's sessionTransacted flag
This commit introduces `spring.jms.listener.session-transacted` property
in order to enable explicit configuration of `sessionTransacted` on the
`DefaultMessageListenerContainer`.

Prior to this commit, `sessionTransacted` would be configured implicitly
based on presence of `JtaTransactionManager`.

See gh-37473
2023-09-27 15:06:52 +01:00
Andy Wilkinson
b7facec4a1 Rename spring.jms.listener.acknowledge-mode
Closes gh-37602
2023-09-27 14:41:09 +01:00
Andy Wilkinson
145fb161a1 Merge branch '3.1.x'
Closes gh-37601
2023-09-27 12:50:58 +01:00
Andy Wilkinson
0368fc5678 Merge branch '3.0.x' into 3.1.x
Closes gh-37600
2023-09-27 12:38:21 +01:00
Andy Wilkinson
688a69b9b1 Prevent status messages from logging when Logback is being configured
There's a window where the deny-all turbo filter has been removed but
Logback has not yet been configured. If any logging that would have
reached an appender is performed in this window, unwanted status
messages will be logged. This window can be closed by ensuring that
the turbo filter is in place while Logback is being configured.

Closes gh-34505
2023-09-27 12:28:23 +01:00
Andy Wilkinson
1cb4941a16 Merge pull request #37500 from vpavic
* gh-37500:
  Polish "Add properties for JmsTemplate session's ack mode and transacted flag"
  Add properties for JmsTemplate session's ack mode and transacted flag

Closes gh-37500
2023-09-27 10:50:11 +01:00
Andy Wilkinson
3adc70fd40 Polish "Add properties for JmsTemplate session's ack mode and transacted flag"
See gh-37500
2023-09-27 10:25:19 +01:00
Vedran Pavic
5ba4e2793d Add properties for JmsTemplate session's ack mode and transacted flag
See gh-37500
2023-09-27 10:19:45 +01:00
Andy Wilkinson
b63efd17b8 Merge branch '3.1.x'
Closes gh-37595
2023-09-27 09:48:01 +01:00
Andy Wilkinson
5015327886 Merge branch '3.0.x' into 3.1.x
Closes gh-37594
2023-09-27 09:47:49 +01:00
Andy Wilkinson
4e40ff8341 Merge pull request #37574 from michael-simons
* gh-37574:
  Polish "Use Neo4jManagedTypes to populate the mapping context"
  Use Neo4jManagedTypes to populate the mapping context

Closes gh-37574
2023-09-27 09:47:40 +01:00
Andy Wilkinson
6b107530f5 Polish "Use Neo4jManagedTypes to populate the mapping context"
See gh-37574
2023-09-27 09:33:56 +01:00
Michael Simons
e0a5de01ca Use Neo4jManagedTypes to populate the mapping context
See gh-37574
2023-09-27 09:33:37 +01:00
Andy Wilkinson
c81b45f1a0 Merge branch '3.1.x'
Closes gh-37593
2023-09-27 09:18:26 +01:00
Andy Wilkinson
a57b19b2ca Merge branch '3.0.x' into 3.1.x
Closes gh-37592
2023-09-27 09:18:15 +01:00
Andy Wilkinson
c6abf888cc Merge branch '2.7.x' into 3.0.x
Closes gh-37591
2023-09-27 09:18:00 +01:00
Andy Wilkinson
071a5951e9 Merge pull request #37578 from onobc
* gh-37578:
  Use larger runner for PR workflow

Closes gh-37578
2023-09-27 09:17:33 +01:00
Chris Bono
3f1e8d65e6 Use larger runner for PR workflow
See gh-37578
2023-09-27 09:17:18 +01:00
Scott Frederick
9004966353 Merge branch '3.1.x' 2023-09-26 19:10:01 -05:00
Scott Frederick
bfc034f9e9 Merge branch '3.0.x' into 3.1.x 2023-09-26 19:09:54 -05:00
Scott Frederick
e8a15327da Fix formatting 2023-09-26 19:09:37 -05:00
Scott Frederick
7c23c0b3c2 Merge branch '3.1.x' 2023-09-26 18:51:03 -05:00
Scott Frederick
5ae4ba83a7 Merge branch '3.0.x' into 3.1.x 2023-09-26 18:19:48 -05:00
Scott Frederick
7e29a3c70b Use latest available Gradle version for Paketo system tests
This ensures that the tests will run with the latest Java versions.

See gh-37507
2023-09-26 18:19:25 -05:00
Scott Frederick
d37e9424a2 Merge branch '3.1.x'
Closes gh-37589
2023-09-26 14:07:16 -05:00
Scott Frederick
4f8684fd69 Merge branch '3.0.x' into 3.1.x
Closes gh-37588
2023-09-26 14:07:05 -05:00
Scott Frederick
a03e3320a6 Merge branch '2.7.x' into 3.0.x
Closes gh-37587
2023-09-26 14:06:50 -05:00
Scott Frederick
aeeb5cf1f8 Apply Gradle fileMode and dirMode consistently in jar and war archives
Fixes gh-37496
2023-09-26 13:49:19 -05:00
Andy Wilkinson
ecc670772a Make user details service auto-configs back off more readily
Previously auto-configuration of a user details service (imperative
or reactive) would only back off on the presence of certain beans.
This led to situations where the im-memory service was
auto-configured and the default password was logged even though
another authentication mechanism was in use.

This commit updates the auto-configuration so that it backs off
when depending on Spring Security's OAuth2 Client and OAuth2
Resource Server modules. In the imperative case it will also back
off when depending on the SAML 2 provider.

Closes gh-35338
2023-09-26 16:47:19 +01:00
Andy Wilkinson
ab3c5799ac Merge branch '3.1.x'
Closes gh-37583
2023-09-26 12:36:05 +01:00
Andy Wilkinson
8dac6676f4 Merge branch '3.0.x' into 3.1.x
Closes gh-37582
2023-09-26 12:35:50 +01:00
Andy Wilkinson
e74f681f23 Merge branch '2.7.x' into 3.0.x
Closes gh-37581
2023-09-26 12:35:38 +01:00
Andy Wilkinson
fce64878b4 Merge pull request #37577 from dependabot[bot]
* gh-37577:
  Bump gradle/gradle-build-action from 2.8.0 to 2.8.1

Closes gh-37577
2023-09-26 12:35:26 +01:00
dependabot[bot]
6b9a952278 Bump gradle/gradle-build-action from 2.8.0 to 2.8.1
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](ef76a971e2...b5126f31db)

See gh-37577
2023-09-26 12:34:52 +01:00
Andy Wilkinson
ab06d10d64 Fix checkpoint-restore with replaced or wrapped HikariDataSource
Closes gh-37580
2023-09-26 12:31:12 +01:00
Andy Wilkinson
ee9c74556d Make reactive security back off without authentication manager
If there's no authentication manager bean or no bean from which
one can be created, Spring Security's reactive support may fail to
bootstrap due to a null authentication manager.

This commit causes the auto-configuration that enables WebFlux
security to back off in the absence of an AuthenticationManager bean
and a ReactiveUserDetailsService (from which Spring Security can
create an AuthenticationManager) bean. Other reactive security
auto-configuration that can configure things such that WebFlux security
can be bootstrapped without an AuthenticationManager has been updated
to enable WebFlux security rather than relying on another
auto-configuration class to do so.

Fixes gh-37504
2023-09-25 15:31:45 +01:00
Moritz Halbritter
1d60e42a73 Merge branch '3.1.x'
Closes gh-37572
2023-09-25 12:02:34 +02:00
Moritz Halbritter
a31395cd15 Merge pull request #37561 from sushant1987
* pr/37561:
  Remove mockito-inline from documentation

Closes gh-37561
2023-09-25 11:59:38 +02:00
Sushant Kumar Singh
088d9ccc32 Remove mockito-inline from documentation
See gh-37561
2023-09-25 11:58:53 +02:00
Moritz Halbritter
11ec9f95f6 Merge branch '3.1.x'
Closes gh-37571
2023-09-25 11:40:16 +02:00
Moritz Halbritter
02f71d8e95 Merge branch '3.0.x' into 3.1.x
Closes gh-37570
2023-09-25 11:39:29 +02:00
Moritz Halbritter
b93ce92022 Merge branch '2.7.x' into 3.0.x
Closes gh-37569
2023-09-25 11:39:18 +02:00
Moritz Halbritter
b266ade00c Prevent exception when loading optional config data locations
Closes gh-35683
2023-09-25 11:39:04 +02:00
Moritz Halbritter
303a8f0825 Disable 'LombokGetterMayBeUsed' inspection 2023-09-25 10:53:27 +02:00
Scott Frederick
845c4dd057 Merge branch '3.1.x'
Closes gh-37556
2023-09-22 14:24:14 -05:00
Scott Frederick
742dae5c3f Merge branch '3.0.x' into 3.1.x
Closes gh-37555
2023-09-22 14:24:06 -05:00
Scott Frederick
d57f9b8643 Enable Paketo Builder Tests on Java 21
Closes gh-37507
2023-09-22 14:23:27 -05:00