Class TrustedDeviceRowMapper
java.lang.Object
com.irurueta.authserver.authorization.infrastructure.persistence.mfa.TrustedDeviceRowMapper
- All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper<TrustedDevice>
@Component
public class TrustedDeviceRowMapper
extends Object
implements org.springframework.jdbc.core.RowMapper<TrustedDevice>
Maps a row of
trusted_devices to a TrustedDevice.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMaps the current row.
-
Constructor Details
-
TrustedDeviceRowMapper
public TrustedDeviceRowMapper()
-
-
Method Details
-
mapRow
Maps the current row.- Specified by:
mapRowin interfaceorg.springframework.jdbc.core.RowMapper<TrustedDevice>- Parameters:
rs- result set positioned on the row.rowNum- number of the row.- Returns:
- the device; its user agent summary is
nullwhen none was stored. - Throws:
SQLException- if a column cannot be read.
-