Package org.xbricks.heimdall.services
Class DeviceService
java.lang.Object
org.xbricks.heimdall.services.DeviceService
-
Constructor Summary
ConstructorDescriptionDeviceService
(DeviceMetadataRepository deviceMetadataRepository, ua_parser.Parser parser, org.springframework.mail.javamail.JavaMailSender mailSender, org.springframework.context.MessageSource messages) -
Method Summary
Modifier and TypeMethodDescriptioncom.maxmind.geoip2.DatabaseReader
void
verifyDevice
(users user, jakarta.servlet.http.HttpServletRequest request)
-
Constructor Details
-
DeviceService
public DeviceService(DeviceMetadataRepository deviceMetadataRepository, ua_parser.Parser parser, org.springframework.mail.javamail.JavaMailSender mailSender, org.springframework.context.MessageSource messages)
-
-
Method Details
-
verifyDevice
public void verifyDevice(users user, jakarta.servlet.http.HttpServletRequest request) throws IOException, com.maxmind.geoip2.exception.GeoIp2Exception - Throws:
IOException
com.maxmind.geoip2.exception.GeoIp2Exception
-
get_databaseReader
- Throws:
IOException
-