Class SslBundleTlsParameters
java.lang.Object
org.openehealth.ipf.boot.SslBundleTlsParameters
- All Implemented Interfaces:
TlsParameters
Implementation of TlsParameters that uses Spring Boot's SSL bundle configuration
to provide SSL/TLS parameters for secure connections.
-
Field Summary
Fields inherited from interface TlsParameters
HTTPS_CIPHERSUITES, JAVAX_NET_DEBUG, JAVAX_NET_SSL_KEYSTORE, JAVAX_NET_SSL_KEYSTORE_PASSWORD, JAVAX_NET_SSL_KEYSTORE_TYPE, JAVAX_NET_SSL_TRUSTSTORE, JAVAX_NET_SSL_TRUSTSTORE_PASSWORD, JAVAX_NET_SSL_TRUSTSTORE_TYPE, JAVAX_TLS_CLIENT_CIPHERSUITES, JAVAX_TLS_SERVER_CIPHERSUITES, JDK_TLS_CLIENT_PROTOCOLS -
Constructor Summary
ConstructorsConstructorDescriptionSslBundleTlsParameters(org.springframework.boot.ssl.SslBundles sslBundles, String bundleName) Creates a new SslBundleTlsParameters instance using the specified SSL bundle. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TlsParameters
getSSLSocketFactory
-
Constructor Details
-
SslBundleTlsParameters
public SslBundleTlsParameters(org.springframework.boot.ssl.SslBundles sslBundles, String bundleName) Creates a new SslBundleTlsParameters instance using the specified SSL bundle.- Parameters:
sslBundles- the SSL bundles registry containing configured SSL bundlesbundleName- the name of the SSL bundle to retrieve and use for TLS configuration- Throws:
org.springframework.boot.ssl.NoSuchSslBundleException- if bundle is unknown
-
-
Method Details
-
getSSLContext
- Specified by:
getSSLContextin interfaceTlsParameters- Returns:
- the
SSLContext
-