Commit Graph

4337 Commits (8f78acd5482bd710b1885a00822946904f05429e)

Author SHA1 Message Date
Johnny Lim 58a9961a31 Name methods consistently in KafkaConnectionDetails
See gh-35733
1 year ago
Scott Frederick c22cbb0e2d Merge branch '3.1.x'
Closes gh-36124
1 year ago
Scott Frederick 0a51c466f4 Merge branch '3.0.x' into 3.1.x
Closes gh-36123
1 year ago
Andy Wilkinson abaade28ea Merge branch '3.1.x'
Closes gh-36122
1 year ago
Andy Wilkinson e2f8fcf292 Merge branch '3.0.x' into 3.1.x
Closes gh-36121
1 year ago
Andy Wilkinson 6effd6061c Provide hints when template auto-config is excluded
Fixes gh-35682
1 year ago
Andy Wilkinson b5a131d966 Merge branch '3.1.x'
Closes gh-36100
1 year ago
Andy Wilkinson ba8b1717fb Merge branch '3.0.x' into 3.1.x
Closes gh-36099
1 year ago
Andy Wilkinson 79cd3a027a Merge branch '2.7.x' into 3.0.x
Closes gh-36098
1 year ago
Andy Wilkinson 9e1f2c4257 Tolerate Flway 9.20
Closes gh-36029
1 year ago
Andy Wilkinson 98d459d76c Revert "Merge branch '3.1.x'"
See gh-36092
1 year ago
Andy Wilkinson 6851904651 Merge branch '3.1.x'
Closes gh-36092
1 year ago
Andy Wilkinson 9a57611ef5 Merge branch '3.0.x' into 3.1.x
Closes gh-36091
1 year ago
Andy Wilkinson ffbef7bb80 Test server.max-http-request-header-size with Undertow
Closes gh-36047
1 year ago
Andy Wilkinson b645eb32ac Remove deprecated code that was to be removed in 3.2
Closes gh-36034
1 year ago
Andy Wilkinson 357c67a999 Merge branch '3.1.x' 1 year ago
Andy Wilkinson 3f7fe25cb9 Merge branch '3.0.x' into 3.1.x
Closes gh-36044
1 year ago
Andy Wilkinson 2fae5de245 Merge branch '2.7.x' into 3.0.x
Closes gh-36043
1 year ago
Andy Wilkinson d2966e1cbf Polish "Replace calls to verifyComplete() to avoid indefinite blocking"
See gh-35915
1 year ago
ThomazPassarelli f9da30faf1 Replace calls to verifyComplete() to avoid indefinite blocking
See gh-35915
1 year ago
Phillip Webb 212acf44f7 Merge branch '3.1.x' 1 year ago
Phillip Webb 7a2fc9e636 Fix checkstyle violation
See gh-35914
1 year ago
Phillip Webb 2ce36b15b3 Merge branch '3.1.x' 1 year ago
Phillip Webb 3c7fbf3423 Polish 'Apply SslConfigurer in addition to configured mappers'
See gh-35914
1 year ago
Fernando Cappi e6b5322f3e Apply SslConfigurer in addition to configured mappers
Update `ReactorClientHttpConnectorFactory` to that SSL configuration
is applied in addition to any configured mappers.

Prior to this commit, SSL configuration would prevent configured
mappers from being applied.

See gh-35914
1 year ago
Andy Wilkinson 295702003d Merge branch '3.1.x' 1 year ago
Andy Wilkinson 7266d4863b Merge branch '3.0.x' into 3.1.x
Closes gh-36009
1 year ago
Andy Wilkinson 39c382713b Initialize WebSocket infrastructure when using WebFlux and Jetty
In Spring Framework 5.x with Jetty 9, the reactive
JettyRequestUpgradeStrategy was able to initialize Jetty's WebSocket
infrastructure itself. With Jetty 10 this is no longer possible and
Boot must perform the initialization as part of preparing the
reactive JettyWebServer.

This commit updates the reactive WebSocket auto-configuration to
initialize Jetty's WebSocket infrastructure as part of creating the
reactive JettyWebServer.

Fixes gh-33347
1 year ago
Andy Wilkinson 1e17d8eeea Upgrade to Liquibase 4.22.0
Closes gh-35956
1 year ago
Andy Wilkinson 454aae92d6 Upgrade to Flyway 9.19.4
Closes gh-35948
1 year ago
Phillip Webb 23eb7ec1f8 Merge branch '3.1.x' 1 year ago
Phillip Webb 5d6a507142 Merge branch '3.0.x' into 3.1.x 1 year ago
Phillip Webb 48e13af8c4 Merge branch '2.7.x' into 3.0.x 1 year ago
Phillip Webb b8d2c279ee Update copyright year of changed files 1 year ago
Phillip Webb 854b29b8fb Polish 1 year ago
Phillip Webb 13f16da716 Merge branch '3.1.x' 1 year ago
Phillip Webb baddf4c857 Merge branch '3.0.x' into 3.1.x 1 year ago
Jonatan Ivanov 85934c3919
Merge branch '3.1.x'
Closes gh-35930
1 year ago
Johnny Lim 06157837e5
Polish
See gh-35872
1 year ago
Phillip Webb 691b549e36 Merge branch '2.7.x' into 3.0.x 1 year ago
Phillip Webb f3f8610539 Polish 1 year ago
Andy Wilkinson 2c06f274dc Merge branch '3.1.x' 1 year ago
Andy Wilkinson cb36df47c8 Merge branch '3.0.x' into 3.1.x
Closes gh-35905
1 year ago
Andy Wilkinson 6def7252d6 Merge branch '2.7.x' into 3.0.x
Closes gh-35904
1 year ago
Andy Wilkinson 088006ff60 Use ephemeral port for Hazelcast
When Hazelcast is started on a fixed port and that port is already in
use, it does not fail to start which makes the problem hard to
detect. A symptom of the problem is that clients will not be able to
connect and will either retry indefinitely or will timeout depending
on their configuration.

This commit updates the Hazelcast client tests to start the Hazelcast
instance on an ephemeral port and to customize the client
configuration with the instance's address before use. This should
allow the client tests to work reliably in an environment where
Hazelcast's default port is already in use.

Closes gh-35903
1 year ago
Moritz Halbritter 140c37ceba Enable virtual threads on Jetty
Closes gh-35703
1 year ago
Moritz Halbritter 3e4a9f5204 Add property to limit maximum connections for Jetty
Closes gh-35899
1 year ago
Moritz Halbritter f81787e65d Enable virtual threads on Tomcat
Closes gh-35704
1 year ago
Moritz Halbritter 6e604ad65c Implement @ConditionalOnVirtualThreads
Closes gh-35892
1 year ago
Scott Frederick 4950e2a6b7 Merge branch '3.1.x' 1 year ago
Scott Frederick 7e6452edee Fix Redis URL property userinfo parsing
Fixes gh-35850
1 year ago
Stephane Nicoll 8589401b65 Merge branch '3.1.x' 1 year ago
Stephane Nicoll 27ee605f91 Upgrade to Tomcat 10.1.9
Closes gh-35819
1 year ago
Stephane Nicoll 02a601eae3 Fix checkstyle violation 1 year ago
Scott Frederick 07c57577b0 Merge branch '3.1.x' 1 year ago
Scott Frederick 767ec4e22e Support encrypted PKCS8 private keys in SSL bundles
Properties `ssl.bundle.pem.mybundle.keystore.private-key-password`
and `ssl.bundle.pem.mybundle.truststore.private-key-password` have
been added for configuring the password required to decrypt an
encrypted private key.

Only PKCS8 private keys with encryption are supported. PKCS1 and EC
private keys with encryption are much more complex to decrypt, and
are not supported.

Fixes gh-35652
1 year ago
Stephane Nicoll 261cb721e9 Fix checkstyle violation 1 year ago
Andy Wilkinson 39276f8302 Adapt to deprecation of rejectIllegalHeader
Closes gh-35442
1 year ago
Andy Wilkinson b9f7df6cc2 Merge branch '3.0.x'
Closes gh-35789
1 year ago
Andy Wilkinson fba0aa805f Merge branch '2.7.x' into 3.0.x
Closes gh-35788
1 year ago
Andy Wilkinson 5e97f869d0 Remove unnecessary usage of Supplier
Closes gh-35787
1 year ago
Andy Wilkinson ce85290d01 Merge branch '3.0.x'
Closes gh-35773
1 year ago
Andy Wilkinson 51e980200a Merge branch '2.7.x' into 3.0.x
Closes gh-35772
1 year ago
Andy Wilkinson ca50cd8c8a Stop using an infinite timeout for connecting to Hazelcast
Closes gh-35771
1 year ago
Yanming Zhou 7a5f6d4123 Expose spring.ssl bundle keys
See gh-35667
1 year ago
Andy Wilkinson 3eaaf58536 Start building against Spring Data Bom 2023.0.1 snapshots
See gh-35750
1 year ago
Andy Wilkinson e9cd0c1f3a Restore compatibility with Flyway 9.0.x
Closes gh-35721
1 year ago
Andy Wilkinson d8078f1c12 Start building against Spring Data Bom 2022.0.7 snapshots
See gh-35738
1 year ago
rafaelrc7 ed47e09c13 Implement validity check to spring.rabbitmq.host config property
As discussed on issue #35628, at some point the host property accepted
multiple comma-separated hosts. However, this was not intended, and for
better clarification, it was decided to implement a clearer error
message for this situation.

See gh-35684
1 year ago
Scott Frederick f29a0d8c29 Merge branch '3.0.x'
Closes gh-35690
1 year ago
Scott Frederick 6a763f9be4 Merge branch '2.7.x' into 3.0.x
Closes gh-35689
1 year ago
Scott Frederick c847db77e6 Correct precedence in description of MongoDB properties
Closes gh-35686
1 year ago
Scott Frederick a02eb48528 Fix building of MongoDB connection string with authentication db
This commit restores the previous behavior of MongoDB auto-
configuration, where the value of the
`spring.data.mongodb.authentication-database` is set in the
credentials when provided.

Fixes gh-35567
1 year ago
Scott Frederick 593fa1dc42 Allow Mongo database property to override database in URI
This commit restores the previous behavior of MongoDB auto-
configuration, where the value of the `spring.data.mongodb.database`
property takes precedence over the database specified in a
`spring.data.mongodb.uri` property.

Fixes gh-35566
1 year ago
Scott Frederick 703883d302 Merge branch '3.0.x'
Closes gh-35610
2 years ago
Scott Frederick 72fd94f2b5 Align bean name with Spring Data Elasticsearch requirements
Fixes gh-33651
2 years ago
Stephane Nicoll 7a9bb55fdf Merge branch '3.0.x'
Closes gh-35589
2 years ago
Eddú Meléndez a3caf8102e Polish
See gh-35577
2 years ago
Andy Wilkinson 713d74d794 Merge branch '3.0.x'
See gh-35554
2 years ago
Andy Wilkinson 54e769be3a Polish
See gh-35553
2 years ago
Andy Wilkinson dd74f8caba Merge branch '3.0.x'
Closes gh-35554
2 years ago
Andy Wilkinson af9cd8cf0b Merge branch '2.7.x' into 3.0.x
Closes gh-35553
2 years ago
Phillip Webb 418dd1ba5b Return 406 status code if welcome page is not accepted
Add `WelcomePageNotAcceptableHandlerMapping` which will return
an HTTP 406 status if a suitable welcome page is found but
cannot be accepted for the request.

An additional mapper is used so that we don't need to change
the order of the `WelcomePageHandlerMapping`. It's possible
that users may have additional root handler mappings
registered to run after the `WelcomePageHandlerMapping`
and we still need to respect those.

Fixes gh-35552
2 years ago
Andy Wilkinson 75ffbc921d Account for new loggers property in FlywayPropertiesTets
See gh-35158
2 years ago
Phillip Webb e3aac5913e Polish property order
Keep "flyway teams" properties at the end.
2 years ago
Phillip Webb cf95ae92ea Allow flyway loggers to be configured and provide SLF4J default
Add `spring.flyway.loggers` property which can be used to configure
Flyway loggers and has a default value of "slf4j".

Closes gh-35158
2 years ago
Phillip Webb d7b4353e99 Polish "Add property defaults for Spring Authorization Server"
See gh-35460
2 years ago
Steve Riesenberg 42c3cba18e Add property defaults for Spring Authorization Server
See gh-35460
2 years ago
Phillip Webb ae90add7c7 Polish 2 years ago
Ben Gilbert 7674c55cd7 Align spring.flyway.execute-in-transaction property with Flyway default
See gh-35447
2 years ago
Andy Wilkinson f5ff8007be Adapt to deprecation of rejectIllegalHeader
Closes gh-35442
2 years ago
Brian Clozel b26115711f Remove unnecessary test for GraphQL Connection
This commit removes an unnecessary test that checks for the pagination
and Connection support in Spring for GraphQL. After a change in
spring-projects/spring-graphql#707, we no longer can test this in
isolation, nor does it make sense to test this integration that
deeply.

See gh-35449
2 years ago
Johnny Lim 4239b96943 Polish
See gh-35417
2 years ago
Johnny Lim e4bf2187bc Revert accidental author changes in FlywayAutoConfiguration
See commit 7ffacf43f3

See gh-35418
2 years ago
Moritz Halbritter aa0fa42ebd Merge branch '3.0.x'
Closes gh-35425
2 years ago
Moritz Halbritter 9e963bce58 Add Hibernate runtime hints
This adds hints for the two No JtaPlatform candidates as well as for
the naming strategies.

Closes gh-35423
2 years ago
Phillip Webb e3ed87d165 Merge branch '3.0.x' 2 years ago
Phillip Webb 92e420a098 Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb e9c4a5d663 Polish 2 years ago
Moritz Halbritter b70399e998 Merge branch '3.0.x' 2 years ago
Moritz Halbritter 7b4056df7f Merge branch '2.7.x' into 3.0.x 2 years ago
Moritz Halbritter 700e89097c Polish
See https://stackoverflow.com/questions/28671903/the-hashsett-removeall-method-is-surprisingly-slow
2 years ago
Steve Riesenberg 10feecbd08 Fix redirect to login page for token requests
Fixes an issue where auto-configuration for Spring Authorization Server
was overriding the default exception handling (AuthenticationEntryPoint)
resulting in anonymous requests to the token endpoint being redirected
to the Spring Security login page instead of returning 401 Unauthorized.

Auto-configuration now registers a defaultAuthenticationEntryPointFor
that is added to any other entry points already configured.

See gh-35368
2 years ago
Christoph Dreis 6086e81ccd Fix configuring replica set via PropertiesMongoConnectionDetails
See gh-35370
2 years ago
Moritz Halbritter 9f787050b4 Merge branch '3.0.x'
Closes gh-35381
2 years ago
Moritz Halbritter 53d2a9fb34 Merge branch '2.7.x' into 3.0.x
Closes gh-35380
2 years ago
Moritz Halbritter ec4d52e381 Add ReactiveResponseConsumer classpath check to http5 auto-configuration
Closes gh-34964
2 years ago
Moritz Halbritter 0ebb32e7f0 Merge branch '3.0.x'
Closes gh-35379
2 years ago
Moritz Halbritter 7e50485b23 Merge branch '2.7.x' into 3.0.x
Closes gh-35378
2 years ago
Moritz Halbritter 947ac8df73 Map MinIdle and MaxValidationTime to R2DBC pools
Closes gh-34724
2 years ago
Stefano Cordio d802ca017b Small assertions improvements
See gh-34796
2 years ago
Johnny Lim ff9fd1abeb Polish
See gh-35185
2 years ago
Christoph Dreis 2d1a403605 Fix javadoc in OAuth2AuthorizationServerPropertiesMapper
See gh-35366
2 years ago
Andy Wilkinson 2b6b178560 Merge branch '3.0.x'
Closes gh-35362
2 years ago
Andy Wilkinson 6c1c8fb405 Merge branch '2.7.x' into 3.0.x
Closes gh-35361
2 years ago
Andy Wilkinson 7427e2d527 Polish "Fix test for backing off when a TransactionManager is already defined"
See gh-35336
2 years ago
davin111 cf5500fc78 Fix test for backing off when a TransactionManager is already defined
See gh-35336
2 years ago
Scott Frederick a474e54cf3 Merge branch '3.0.x'
Closes gh-35244
2 years ago
Scott Frederick cf180fa1cc Merge branch '2.7.x' into 3.0.x
Closes gh-35243
2 years ago
Scott Frederick 5d91c24f63 Update Couchbase image tag used in tests
Closes gh-35228
2 years ago
Marc Leroux b61834c92d Replace Mockito argument captors with assertArg
See gh-35015
2 years ago
Scott Frederick 1143396531 Add smoke tests to verify Couchbase SSL connections
See gh-34811
2 years ago
Scott Frederick d4107a8185 Add smoke tests to verify Cassandra SSL connections
See gh-25602
2 years ago
Phillip Webb 8e18862582 Merge branch '3.0.x' 2 years ago
Phillip Webb 8d1fb3be4f Fix index error on test
See gh-35241
2 years ago
Phillip Webb a890323758 Merge branch '3.0.x' 2 years ago
Phillip Webb 0f242ab3f7 Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb 6b646f6a8e Update copyright year of changed files 2 years ago
Phillip Webb cd5f0dff21 Merge branch '3.0.x'
Closes gh-35242
2 years ago
Phillip Webb 722cbc66c6 Merge branch '2.7.x' into 3.0.x
Closes gh-35241
2 years ago
Phillip Webb 5ef0ee0ed4 Prevent early initialization of SessionRepository beans
Replace `SessionRepositoryFilterConfiguration` filter registration bean
with a `DelegatingFilterProxyRegistrationBean` so that
`SessionRepository` beans are not initialized early.

Fixes gh-35240
2 years ago
Scott Frederick 3bb271e320 Add smoke test to verify Redis SSL connection
See gh-34815
2 years ago
Andy Wilkinson aafe343ce6 Merge branch '3.0.x'
Closes gh-35237
2 years ago
Andy Wilkinson 9a39bf284b Merge branch '2.7.x' into 3.0.x
Closes gh-35235
2 years ago
Andy Wilkinson 7c2c2ebb1b Make ApplicationAvailabilityBean receive events with lazy init
Fixes gh-35161
2 years ago
Moritz Halbritter 735c43ce9b Merge branch '2.7.x' into 3.0.x 2 years ago
Moritz Halbritter 312f0c17ed Set initial ElasticSearch heap size in integration tests 2 years ago
Moritz Halbritter 944d77491b Set initial heap size for ElasticSearch integration tests 2 years ago
Moritz Halbritter 1ce88f25b4 Merge branch '3.0.x' 2 years ago
Moritz Halbritter 037cb8c5b0 Merge branch '2.7.x' into 3.0.x 2 years ago
Moritz Halbritter c1cef099d2 Limit maximum heap of ElasticSearch in tests 2 years ago
Moritz Halbritter d7a9f87b64 Disable Neo4j tests on aarch64 linux and mac
See gh-35228
2 years ago
Moritz Halbritter 9f109fe785 Disable Couchbase integration tests on aarch64 linux and mac
See gh-35228
2 years ago
Andy Wilkinson 419d8c22b2 Merge branch '3.0.x'
Closes gh-35231
2 years ago
Andy Wilkinson 8f291abc2b Merge branch '2.7.x' into 3.0.x
Closes gh-35230
2 years ago
Juhan Aasaru 3b70286747 Correct list of annotations equivalent to @SpringBootApplication
See gh-35180
2 years ago
Andy Wilkinson b1d0433d74 Handle Kafka servers as strings and rely on Kafka's parsing
Closes gh-34770
2 years ago
Phillip Webb fc5339f81c Polish 2 years ago
Phillip Webb 403481ff96 Add 'required' parameter to ConnectionDetailsFactories
Update `ConnectionDetailsFactories` so that callers can now declare if
a result is required or not and improve exception hierarchy.

See gh-35168
2 years ago
Andy Wilkinson 09527995d1 Polish 2 years ago
Moritz Halbritter 176cc20c36 Polish FlywayConfiguration 2 years ago
Moritz Halbritter 27ab98b49d Polish ConnectionDetailsFactories 2 years ago
Andy Wilkinson d7da77bda8 Remove support for service connections to InfluxDB
Closes gh-35189
2 years ago
Scott Frederick 428434c873 Polish SslOptions usage
Change getter methods to return arrays, as this is how most client
library usages need the options.

See gh-34814
2 years ago
Scott Frederick 226c3005d4 Add SSL bundle support to Redis auto-configuration
Update Redis auto-configuration with Lettuce and Jedis drivers to
allow SSL configuration with an SSL bundle.

Closes gh-34815
2 years ago
Andy Wilkinson 9a0b5e0178 Merge branch '3.0.x'
Closes gh-35173
2 years ago
Andy Wilkinson 7ee1622995 Merge branch '2.7.x' into 3.0.x
Closes gh-35172
2 years ago
Andy Wilkinson 6b9bc012a5 Check that BPP and BFPP bean methods won't cause eager initialization
Closes gh-35164
2 years ago
Phillip Webb b5c9e7c06a Polish SslOptions usage
Add helper method and tighten usage so that exceptions are thrown when
options cannot be applied.

See gh-34814
2 years ago
Phillip Webb 423c60acfa Add SSL bundle support to Elasticsearch auto-configuration
Update Elasticsearch RestClient auto-configuration so that an SSL
can be configured via an SSL bundle.

Closes gh-35155
2 years ago
Phillip Webb 19221f00f3 Deprecate `spring.cassandra.ssl` configuration property
Deprecate the `spring.cassandra.ssl` configuration property in favor
of `spring.cassandra.ssl.enabled`.

See gh-25602
2 years ago
Scott Frederick ff35cc80d7 Allow Couchbase SSL to be enabled without custom trust material
Closes gh-35147
2 years ago
Scott Frederick 1d44b45b5d Deprecate Couchbase SSL keyStore properties
The properties `spring.couchbase.env.ssl.key-store`
and `spring.couchbase.env.ssl.key-store-password`
are deprecated in favor of configuring an SSL bundle with
`spring.couchbase.env.ssl.bundle`. The older properties
have somewhat confusing names, since they are used to
configure a trust store in Couchbase, and they don't
provide all the options that an SSL bundle provides.

Closes gh-35135
2 years ago
Andy Wilkinson 9cd04c55fb Merge branch '3.0.x'
Closes gh-35132
2 years ago
Andy Wilkinson 598e090e8f Merge branch '2.7.x' into 3.0.x
Closes gh-35131
2 years ago
Andy Wilkinson 90952a2dd9 Do not turn a null Flyway-specific password into an empty string
It prevents using PGPASS for authentication with Postgres.

Fixes gh-35110
2 years ago
Andy Wilkinson 7ffacf43f3 Use main DataSource when there are no migration-specific conn details
Fixes gh-35109
2 years ago
Phillip Webb 6ea2547de4 Add SSL bundle support to WebClient auto-configuration
Introduce `WebClientSsl` interface and auto-configuration to allow a
WebClient builder to have custom SSL configuration applied.

The previous `ClientHttpConnectorConfiguration` has been been changed
to now create `ClientHttpConnectorFactory` instances which can be used
directly or by `AutoConfiguredWebClientSsl`.

Closes gh-18556
2 years ago
Phillip Webb c59c8cc674 Change SslOptions to use null for defaults rather than empty sets
Update `SslOptions` so that `null` is used for default values rather
than empty sets. Most libraries use `null` to indicate defaults so
aligning our class makes things easier.

See gh-34814
2 years ago
Scott Frederick fd5fd1491a Add SSL bundle support to MongoDB auto-configuration
Update MongoDB auto-configuration so that an SSL can be configured
via an SSL bundle.

Closes gh-35042
2 years ago
Scott Frederick 1618aa2dac Add SSL bundle support to Couchbase auto-configuration
Update Couchbase auto-configuration so that an SSL can be configured
via an SSL bundle.

Closes gh-34811
2 years ago
Scott Frederick 682457377a Add SSL bundle support to Cassandra auto-configuration
Update Cassandra auto-configuration so that an SSL can be configured
via an SSL bundle.

Closes gh-25602
2 years ago
Scott Frederick 66db13b962 Refactor web server support to use SslBundles
Update Tomcat, Jetty, Undertow and Netty servers so that an SslBundle
is used to apply SSL configuration. Existing `Ssl` properties are
internally adapted to an `SslBundle` using the `WebServerSslBundle`
class. Additionally, if `Ssl.getBundle()` returns a non-null value the
the `SslBundles` bean will be used to find a registered bundle by name.

See gh-34814
2 years ago
Scott Frederick 8e1f24f98f Add SSL bundle auto-configuration support
Add auto-configuration for SSL bundles including new configuration
properties that can be used to define a bundle.

SSL bundle properties are provided under the `spring.ssl.bundle` key.
Currently `jks` and `pem` variants are support. Both are configured
as a `Map` where the bundle name is the key.

A typical example would be:

    spring:
      ssl:
        bundle:
          pem:
            mybundle
              key:
                password: secret
              keystore:
                certificate: classpath:mycert.pem
                private-key: classpath:mykey.pem

A `SslBundleRegistrar` interface is also provided to allow programmatic
contributions to the auto-configured `SslBundleRegistry`.

See gh-34814
2 years ago
Andy Wilkinson cbc03783d0 Allow startup to contiune when ConnectionDetailsFactory load fails
Prior to this commit, a failure to load a ConnectionDetailsFactory
caused startup to fail. This causes problems when some of a
factory's required classes were not available, for examle when using
spring-boot-docker-compose without Actuator.

Fixes gh-35100
2 years ago
Andy Wilkinson a03fe8befc Enable customization of JWK Set URI decoder builders
Closes gh-20750
2 years ago
Stephane Nicoll 366f7a85c9 Merge branch '3.0.x'
Closes gh-35069
2 years ago
Stephane Nicoll 6933796f2a Merge branch '2.7.x' into 3.0.x
Closes gh-35068
2 years ago
Stephane Nicoll 1b832d82f8 Polish "Back off if a custom ApplicationAvailability bean is present"
See gh-34347
2 years ago
Taeik Lim 5e95ba8448 Back off if a custom ApplicationAvailability bean is present
See gh-34347
2 years ago
Andy Wilkinson f5e654748c Polish "Add customizer for conversion service used by Spring Batch"
See gh-34769
2 years ago
Claudio Nave cafa6f5d9c Add customizer for conversion service used by Spring Batch
See gh-34769
2 years ago
Stephane Nicoll a323bd90a8 Polish "Reintroduce support for ActiveMQ"
See gh-35048
2 years ago
Martin BENDA 3e9908a797 Reintroduce support for ActiveMQ
See gh-35048
2 years ago
Andy Wilkinson 7b3e687f05 Deprecate OAuth2ClientPropertiesRegistrationAdapter
This commit deprecates OAuth2ClientPropertiesRegistrationAdapter as
it wasn't really an adapter because it provides a static utility
method rather than adapting one contract to another. A replacement,
OAuth2ClientPropertiesMapper, is introduced that maps the OAuth2
client properties to the required types.

Closes gh-34714
2 years ago
Andy Wilkinson 4eb7558707 Polish "Add properties to support device grant"
See gh-34957
2 years ago
Steve Riesenberg 25b582c822 Add properties to support device grant
This commit adds the following properties under
spring.security.oauth2.authorizationserver.client.[registration-id]:

* endpoint.device-authorization-uri
* endpoint.device-verification-uri
* token.device-code-time-to-live

See gh-34957
2 years ago
Andy Wilkinson e2ee1ed50d Fix password handling in Flyway auto-configuration
Previously, FlywayProperties returned an empty string when its
password had not been set. This prevented the desired fallback to
JdbcConnectionDetails.

Fixes gh-35046
2 years ago
Phillip Webb 81a972af8d Refactor testcontainers service connections
Update restcontainers service connections support so that
technology specific `@ServiceConnector` annotations are not longer
required.

A single `@ServiceConnector` annotation can now be used to create
all `ConnectionDetail` beans.

Closes gh-35017
2 years ago
Phillip Webb 2951cc7594 Polish 2 years ago
Phillip Webb 1849b82334 Don't apply configuration-properties from auto-configuration plugin
Update the auto-configuration gradle plugin so that the
configuration-properties plugin is not longer automatically applied.
This  allows us to have auto-configuration modules that don't ship
configuration properties.

Closes gh-35028
2 years ago
Phillip Webb 053c968fb4 Polish 2 years ago
Phillip Webb 00dc942e94 Migrate to Spring Security lambda config
Closes gh-35011
2 years ago
Andy Wilkinson 397f16ce2d Upgrade to Flyway 9.16.3
Closes gh-34990
2 years ago
Stephane Nicoll c4c4eb93ae Start building against Spring Security 6.1.0-RC1 snapshots
See gh-34969
2 years ago
Andy Wilkinson d4980ea993 Always define connection details beans
Closes gh-34776
2 years ago
Andy Wilkinson 466b81f13d Merge branch '3.0.x' 2 years ago
Andy Wilkinson 0e51cd583a Merge branch '2.7.x' into 3.0.x 2 years ago
Andy Wilkinson e70226b48e Adapt to breaking changes in Spring Security internals
See gh-34948
2 years ago
Phillip Webb e9a198a68f Merge branch '3.0.x' 2 years ago