Commit Graph

42408 Commits (95a8c1177363757c3a9c7e5934bb066bc38bb983)
 

Author SHA1 Message Date
Phillip Webb 77c468c956 Add test to check SSL RestTemplate requests work against server
Add a test to `AbstractClientHttpRequestFactoriesTests` to ensure
that SSL configuration works when calling a real Tomcat server.

See gh-34810
2 years ago
Phillip Webb 72c1f667f5 Fix @Since javadoc in RestTemplateBuilder
See gh-34810
2 years ago
Scott Frederick b6befd133c Add SSL bundle support to RestTemplateBuilder auto-configuration
Update RestTemplateBuilder auto-configuration so that an SSL can be
configured via an SSL bundle.

Closes gh-34810
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 909c09c8ab Provide centralized configuration of SSL properties
Closes gh-34814
2 years ago
Scott Frederick a03f857059 Document update SSL support
Add a new SSL section to the reference documentation to describe SSL
bundles.

See gh-34814
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
Scott Frederick e3677f7ff6 Add SSL bundle support to spring-boot module
Add classes to support SSL bundles which can be used to apply SSL
settings in a centralized way. An `SslBundle` can be registered with
an `SslBundleRegistry` and obtained from an `SslBundles` instance. The
`DefaultSslBundleRegistry` provides a default in-memory implementation.

Different client libraries often configure SSL in slightly different
ways. To accommodate this, the `SslBundle` provides a layered approach
of obtaining SSL information:

	- `getStores` provides access to the key store and trust stores
	  as well as any required key store password.

	- `getManagers` provides access to the `KeyManagerFactory`,
	  `TrustManagerFactory` as well as the `KeyManger` and
	  `TrustManager` arrays that they create.

	- `createSslContext` provides a convenient way to obtain a new
	  `SSLContext` instance.

In addition, the `SslBundle` also provides details about the key being
used, the protocol to use and any options that should be applied to the
SSL engine.

See gh-34814
2 years ago
Andy Wilkinson e61adc6cbf Allow even more time for Redpanda to start 2 years ago
Andy Wilkinson b64adbc34b Fix disabled conditions on AbstractDockerComposeIntegrationTests 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
Stephane Nicoll ff36f52f4e Merge branch '3.0.x' 2 years ago
Stephane Nicoll 553de9f2fa Merge branch '2.7.x' into 3.0.x 2 years ago
Stephane Nicoll 8435736570 Upgrade Java 20 version in CI image
Closes gh-35077
2 years ago
Stephane Nicoll cde830c964 Upgrade Java 17 version in CI image and .sdkmanrc
Closes gh-35078
2 years ago
Stephane Nicoll 671e1a7c93 Upgrade CI to Docker 23.0.4
Closes gh-35092
2 years ago
Stephane Nicoll bf630bd166 Upgrade Java 20 version in CI image
Closes gh-35072
2 years ago
Stephane Nicoll 8c96967c16 Upgrade Java 17 version in CI image and .sdkmanrc
Closes gh-35071
2 years ago
Stephane Nicoll 6e15177650 Upgrade CI to Docker 23.0.4
Closes gh-35070
2 years ago
Stephane Nicoll 81ade5d3b5 Upgrade Java 20 version in CI image
Closes gh-35073
2 years ago
Stephane Nicoll b6705b7f45 Upgrade Java 17 version in CI image
Closes gh-35079
2 years ago
Stephane Nicoll 8195700c96 Upgrade Java 11 version in CI image
Closes gh-35076
2 years ago
Stephane Nicoll 59ac9295fa Upgrade Java 8 version in CI image and .sdkmanrc
Closes gh-35074
2 years ago
Stephane Nicoll 573aec7d3a Upgrade CI to Docker 23.0.4
Closes gh-35075
2 years ago
Andy Wilkinson bc58df3467 Prohibit upgrades to Liquibase 4.21.1
See gh-34983
2 years ago
Andy Wilkinson 26c98eded9 Upgrade to Tomcat 10.1.8
Closes gh-35095
2 years ago
Andy Wilkinson dbab743018 Upgrade to Spring Integration 6.1.0-RC1
Closes gh-34973
2 years ago
Andy Wilkinson 68b25598b9 Upgrade to Spring GraphQL 1.2.0-RC1
Closes gh-34972
2 years ago
Andy Wilkinson 5965df39b5 Upgrade to Selenium HtmlUnit 4.8.3
Closes gh-35094
2 years ago
Andy Wilkinson 503e88f2ec Upgrade to Logback 1.4.7
Closes gh-35093
2 years ago
Andy Wilkinson f0afb2d22f Merge branch '3.0.x' 2 years ago
Spring Builds bed40c6ee9 Next development version (v3.0.7-SNAPSHOT) 2 years ago
Andy Wilkinson 76b2866602 Merge branch '3.0.x' 2 years ago
Andy Wilkinson b80f4cc985 Upgrade to Tomcat 10.1.8
Closes gh-35089
2 years ago
Andy Wilkinson ca618e84d3 Upgrade to Spring Integration 6.0.5
Closes gh-35012
2 years ago
Andy Wilkinson 35fd0a3f69 Upgrade to Logback 1.4.7
Closes gh-35088
2 years ago
Andy Wilkinson 40834c5cb9 Merge branch '2.7.x' into 3.0.x 2 years ago
Spring Builds 253cbad49d Next development version (v2.7.12-SNAPSHOT) 2 years ago
Andy Wilkinson 04780650a1 Merge branch '3.0.x'
Closes gh-35087
2 years ago
Andy Wilkinson 32444fed4b Merge branch '2.7.x' into 3.0.x
Closes gh-35086
2 years ago
Madhura Bhave 3522714c13 Use endpoint mappings in CloudFoundry integration
Closes gh-35085
2 years ago
Andy Wilkinson c55d398f95 Validate health group includes and excludes
Closes gh-34360
2 years ago
Andy Wilkinson a03fe8befc Enable customization of JWK Set URI decoder builders
Closes gh-20750
2 years ago
Andy Wilkinson 45068c777f Document default value for management.otlp.tracing.compression
See gh-34508
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 da10c4e98b Merge pull request #34347 from acktsap
* pr/34347:
  Polish "Back off if a custom ApplicationAvailability bean is present"
  Back off if a custom ApplicationAvailability bean is present

Closes gh-34347
2 years ago