Class SecondFactorLockoutRowMapper
java.lang.Object
com.irurueta.authserver.authorization.infrastructure.persistence.mfa.SecondFactorLockoutRowMapper
- All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper<SecondFactorLockout>
@Component
public class SecondFactorLockoutRowMapper
extends Object
implements org.springframework.jdbc.core.RowMapper<SecondFactorLockout>
Maps a row of the
second_factor_attempts table to a SecondFactorLockout.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMaps the current row.
-
Constructor Details
-
SecondFactorLockoutRowMapper
public SecondFactorLockoutRowMapper()
-
-
Method Details
-
mapRow
Maps the current row.- Specified by:
mapRowin interfaceorg.springframework.jdbc.core.RowMapper<SecondFactorLockout>- Parameters:
rs- result set positioned on the row.rowNum- number of the row.- Returns:
- the state; its lock end is
nullwhen the second factor is not locked. - Throws:
SQLException- if a column cannot be read.
-