fix for MqttSslHandlerProvider component injection & fix for skip_check_client_certificate parameter injection

This commit is contained in:
ShvaykaD 2021-06-30 16:01:20 +03:00 committed by Andrew Shvayka
parent a0c504ade6
commit d6bbeae335
2 changed files with 1 additions and 2 deletions

View File

@ -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 {

View File

@ -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