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