Update libraries

This commit is contained in:
Sergey Shkurov
2023-04-24 01:29:12 +03:00
parent ea45f1b9e5
commit 4e2473a3cc
12 changed files with 56 additions and 52 deletions

View File

@@ -1,5 +1,6 @@
package ru.serega6531.packmate.configuration;
import org.modelmapper.ModelMapper;
import org.pcap4j.core.PcapNativeException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
@@ -7,8 +8,6 @@ import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;
import ru.serega6531.packmate.model.enums.CaptureMode;
import ru.serega6531.packmate.pcap.FilePcapWorker;
import ru.serega6531.packmate.pcap.LivePcapWorker;
@@ -42,8 +41,8 @@ public class ApplicationConfiguration {
}
@Bean
public PasswordEncoder passwordEncoder() {
return new BCryptPasswordEncoder();
public ModelMapper modelMapper() {
return new ModelMapper();
}
}