|
|
|
@ -85,9 +85,8 @@ public class MqttAuthHandler implements IMqttServerAuthHandler {
|
|
|
|
|
DeviceInfoDto deviceInfo = optionalDeviceInfoDto.get();
|
|
|
|
|
return checkDeviceInfo(deviceInfo,clientId,userName,password);
|
|
|
|
|
}
|
|
|
|
|
}else {
|
|
|
|
|
return NoDeviceInfoEvent(clientId,userName,password);
|
|
|
|
|
}
|
|
|
|
|
return NoDeviceInfoEvent(clientId,userName,password);
|
|
|
|
|
}catch (Exception ex){
|
|
|
|
|
logger.error("客户端认证逻辑处理异常:"+ex.getMessage());
|
|
|
|
|
}
|
|
|
|
|