Expose spring.ssl bundle keys

See gh-35667
pull/35733/head
Yanming Zhou 1 year ago committed by Stephane Nicoll
parent bd2fff1fd1
commit 7a5f6d4123

@ -20,7 +20,6 @@ import java.util.LinkedHashMap;
import java.util.Map; import java.util.Map;
import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
/** /**
* Properties for centralized SSL trust material configuration. * Properties for centralized SSL trust material configuration.
@ -48,13 +47,11 @@ public class SslProperties {
/** /**
* PEM-encoded SSL trust material. * PEM-encoded SSL trust material.
*/ */
@NestedConfigurationProperty
private final Map<String, PemSslBundleProperties> pem = new LinkedHashMap<>(); private final Map<String, PemSslBundleProperties> pem = new LinkedHashMap<>();
/** /**
* Java keystore SSL trust material. * Java keystore SSL trust material.
*/ */
@NestedConfigurationProperty
private final Map<String, JksSslBundleProperties> jks = new LinkedHashMap<>(); private final Map<String, JksSslBundleProperties> jks = new LinkedHashMap<>();
public Map<String, PemSslBundleProperties> getPem() { public Map<String, PemSslBundleProperties> getPem() {

Loading…
Cancel
Save