Class SslBundleSslEngineFactory
java.lang.Object
org.springframework.boot.autoconfigure.kafka.SslBundleSslEngineFactory
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.kafka.common.Configurable
,org.apache.kafka.common.security.auth.SslEngineFactory
public class SslBundleSslEngineFactory
extends Object
implements org.apache.kafka.common.security.auth.SslEngineFactory
- Since:
- 3.2.0
- Author:
- Andy Wilkinson, Scott Frederick
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
createClientSslEngine
(String peerHost, int peerPort, String endpointIdentification) createServerSslEngine
(String peerHost, int peerPort) keystore()
boolean
shouldBeRebuilt
(Map<String, Object> nextConfigs)
-
Constructor Details
-
SslBundleSslEngineFactory
public SslBundleSslEngineFactory()
-
-
Method Details
-
configure
- Specified by:
configure
in interfaceorg.apache.kafka.common.Configurable
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
createClientSslEngine
public SSLEngine createClientSslEngine(String peerHost, int peerPort, String endpointIdentification) - Specified by:
createClientSslEngine
in interfaceorg.apache.kafka.common.security.auth.SslEngineFactory
-
createServerSslEngine
- Specified by:
createServerSslEngine
in interfaceorg.apache.kafka.common.security.auth.SslEngineFactory
-
shouldBeRebuilt
- Specified by:
shouldBeRebuilt
in interfaceorg.apache.kafka.common.security.auth.SslEngineFactory
-
reconfigurableConfigs
- Specified by:
reconfigurableConfigs
in interfaceorg.apache.kafka.common.security.auth.SslEngineFactory
-
keystore
- Specified by:
keystore
in interfaceorg.apache.kafka.common.security.auth.SslEngineFactory
-
truststore
- Specified by:
truststore
in interfaceorg.apache.kafka.common.security.auth.SslEngineFactory
-