void configure(
Map<String, ?> configs)
SslFactory
SslFactory
is created when:
-
SaslChannelBuilder
is requested to configure for SASL_SSL security protocol (withnone
for the clientAuthConfigOverride text) -
SslChannelBuilder
is requested to configure (with no clientAuthConfigOverride text)
Creating SslFactory Instance
SslFactory
takes the following to be created:
SslFactory
initializes the internal properties.
configure
Method
Note
|
configure is part of the Configurable contract to pass configurations.
|
configure
initializes the endpoint identification algorithm internal registry based on ssl.endpoint.identification.algorithm configuration property.
configure
…FIXME
validateReconfiguration
Method
void validateReconfiguration(
Map<String, ?> newConfigs)
Note
|
validateReconfiguration is part of the Reconfigurable to…FIXME.
|
validateReconfiguration
…FIXME
reconfigure
Method
void reconfigure(
Map<String, ?> newConfigs)
Note
|
reconfigure is part of the Reconfigurable to…FIXME.
|
reconfigure
…FIXME
createSslEngine
Method
SSLEngine createSslEngine(
String peerHost,
int peerPort)
createSslEngine
simply requests the SslEngineBuilder to createSslEngine for the given peerHost
and peerPort
(and the mode and the endpointIdentification).
createSslEngine
throws an IllegalStateException
if the sslEngineBuilder hasn’t been initialized yet (null
):
SslFactory has not been configured.
Note
|
createSslEngine is used when SaslChannelBuilder and SslChannelBuilder are requested to buildTransportLayer .
|
createNewSslEngineBuilder
Internal Method
SslEngineBuilder createNewSslEngineBuilder(
Map<String, ?> newConfigs)
createNewSslEngineBuilder
…FIXME
Note
|
createNewSslEngineBuilder is used when SslFactory is requested to validateReconfiguration and reconfigure.
|
Internal Properties
Name | Description |
---|---|
|
Name of the algorithm for endpoint identification (based on ssl.endpoint.identification.algorithm configuration property) Used when |
|
Initialized when |