Expose spring.ssl bundle keys

See gh-35667
This commit is contained in:
Yanming Zhou
2023-05-29 16:24:01 +08:00
committed by Stephane Nicoll
parent bd2fff1fd1
commit 7a5f6d4123

View File

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