fix for MqttSslHandlerProvider component injection & fix for skip_check_client_certificate parameter injection
This commit is contained in:
parent
a0c504ade6
commit
d6bbeae335
@ -55,7 +55,6 @@ import java.util.concurrent.TimeUnit;
|
||||
*/
|
||||
@Slf4j
|
||||
@Component("MqttSslHandlerProvider")
|
||||
@ConditionalOnExpression("'${transport.mqtt.enabled}'=='true'")
|
||||
@ConditionalOnProperty(prefix = "transport.mqtt.ssl", value = "enabled", havingValue = "true", matchIfMissing = false)
|
||||
public class MqttSslHandlerProvider {
|
||||
|
||||
|
||||
@ -52,7 +52,7 @@ public class MqttTransportContext extends TransportContext {
|
||||
private Integer maxPayloadSize;
|
||||
|
||||
@Getter
|
||||
@Value("${transport.mqtt.netty.skip_validity_check_for_client_cert:false}")
|
||||
@Value("${transport.mqtt.ssl.skip_validity_check_for_client_cert:false}")
|
||||
private boolean skipValidityCheckForClientCert;
|
||||
|
||||
@Getter
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user